Fix infinite recursion in CComponentsPicture::setPicture

This commit is contained in:
Hendi
2023-01-23 23:30:10 +01:00
committed by Thilo Graf
parent a836debc94
commit e78952be1c

View File

@@ -43,7 +43,8 @@ void CComponentsPicture::setPicture(const std::string &name, const int &w, const
void CComponentsPicture::setPicture(const char *name, const int &w, const int &h)
{
setPicture(name, w, h);
std::string sName(name);
setPicture(sName, w, h);
}
std::string CComponentsPicture::getPictureName()