summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2004-01-29 05:37:54 +0000
committerHardeep Sidhu <dyp@pobox.com>2004-01-29 05:37:54 +0000
commit41354a85d9e0240121ad709ccbf704cf50c8addc (patch)
treec20531856273ebf6dfbf7e2f7e8be027fc6236b1
parent7789f9804ebf8e4b2a89b7e1eefff1577f737e13 (diff)
downloadrockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.tar.gz
rockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.zip
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
-rw-r--r--apps/playlist.c2
1 files changed, 1 insertions, 1 deletions
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,
1999#endif 1999#endif
2000 break; 2000 break;
2001 2001
2002 if (temp_buf[0] != '#' || temp_buf[0] != '\0') 2002 if (temp_buf[0] != '#' && temp_buf[0] != '\0')
2003 { 2003 {
2004 int insert_pos; 2004 int insert_pos;
2005 2005