Fix infinite recursion in CComponentsPicture::setPicture

Origin commit data
------------------
Branch: ni/coolstream
Commit: dc6f7c6489
Author: Hendi <hendi48@freenet.de>
Date: 2023-01-23 (Mon, 23 Jan 2023)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Hendi
2023-01-23 23:30:10 +01:00
committed by vanhofen
parent 5d7a547fe4
commit 268e335441

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()