From 41354a85d9e0240121ad709ccbf704cf50c8addc Mon Sep 17 00:00:00 2001 From: Hardeep Sidhu Date: Thu, 29 Jan 2004 05:37:54 +0000 Subject: Fixed bug when inserting playlists where comment and empty lines were not being skipped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4284 a1c6a512-1295-4272-9138-f99709370657 --- apps/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/playlist.c b/apps/playlist.c index 8dede37d38..572eb26456 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -1999,7 +1999,7 @@ int playlist_insert_playlist(struct playlist_info* playlist, char *filename, #endif break; - if (temp_buf[0] != '#' || temp_buf[0] != '\0') + if (temp_buf[0] != '#' && temp_buf[0] != '\0') { int insert_pos; -- cgit v1.2.3