mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CComponentsPicture: initVarPicture() not execute if pic_name is blank
Origin commit data
------------------
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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user