aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stored_playlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stored_playlist.c b/src/stored_playlist.c
index e9d157721..36da7c9f7 100644
--- a/src/stored_playlist.c
+++ b/src/stored_playlist.c
@@ -199,7 +199,7 @@ spl_load(const char *utf8path)
GString *buffer = g_string_sized_new(1024);
char *s;
while ((s = read_text_line(file, buffer)) != NULL) {
- if (*s == PLAYLIST_COMMENT)
+ if (*s == 0 || *s == PLAYLIST_COMMENT)
continue;
if (!uri_has_scheme(s)) {