CComponentsPicture: initVarPicture() not execute if pic_name is blank

Origin commit data
------------------
Branch: ni/coolstream
Commit: bd47ef2060
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-04-04 (Thu, 04 Apr 2013)

Origin message was:
------------------
* CComponentsPicture: initVarPicture() not execute if pic_name is blank

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

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-04-04 17:06:07 +02:00
parent e575e91329
commit bfab2c1259

View File

@@ -105,6 +105,9 @@ void CComponentsPicture::initVarPicture()
pic_painted = false;
do_paint = false;
if (pic_name == "")
return;
if (pic_max_w == 0)
pic_max_w = width-2*fr_thickness;