summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/clui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src/clui.cpp')
-rw-r--r--plugins/Clist_mw/src/clui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_mw/src/clui.cpp b/plugins/Clist_mw/src/clui.cpp
index d04b463c6e..c8c22f6cc8 100644
--- a/plugins/Clist_mw/src/clui.cpp
+++ b/plugins/Clist_mw/src/clui.cpp
@@ -183,7 +183,7 @@ HICON LoadIconFromExternalFile(char *filename,int i,boolean UseLibrary,boolean r
sid.pszSection = SectName;
sid.pszName = IconName;
sid.pszDescription = Description;
- if (strlen(szMyPath) != 0)
+ if (szMyPath[0] != 0)
sid.pszDefaultFile = szMyPath;
sid.iDefaultIndex = internalidx;