mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
use empty to check string
This commit is contained in:
@@ -100,7 +100,7 @@ void CComponentsInfoBox::paintPicture()
|
||||
pic = NULL;
|
||||
|
||||
//exit if no image definied
|
||||
if (pic_name == "")
|
||||
if (pic_name.empty())
|
||||
return;
|
||||
|
||||
//init pic object and set icon paint position
|
||||
|
Reference in New Issue
Block a user