aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/PlaylistFile.cxx')
-rw-r--r--src/PlaylistFile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 911a4fc17..d8c15841b 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -70,7 +70,7 @@ spl_global_init(void)
bool
spl_valid_name(const char *name_utf8)
{
- if (*name_utf8 == 0)
+ if (StringIsEmpty(name_utf8))
/* empty name not allowed */
return false;