diff options
Diffstat (limited to 'imagelist-item.h')
-rw-r--r-- | imagelist-item.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/imagelist-item.h b/imagelist-item.h index 3ff10cf..1b2e874 100644 --- a/imagelist-item.h +++ b/imagelist-item.h @@ -17,10 +17,10 @@ class cImageListItem : public cListObject void MakeSetupString(void) { - dsyslog("Neuer SetupString"); FREENULL(SString); - asprintf(&SString, "%s|%s|%i|%s|%i", LName, SName, (int)fType, Value, HideExt); - dsyslog("...%s", SString); + if(0 < asprintf(&SString, "%s|%s|%i|%s|%i", LName, SName, (int)fType, Value, HideExt)) { + dsyslog("...%s", SString); + } }; void debug(void); |