diff options
| author | Hardeep Sidhu <dyp@pobox.com> | 2004-01-29 05:37:54 +0000 |
|---|---|---|
| committer | Hardeep Sidhu <dyp@pobox.com> | 2004-01-29 05:37:54 +0000 |
| commit | 41354a85d9e0240121ad709ccbf704cf50c8addc (patch) | |
| tree | c20531856273ebf6dfbf7e2f7e8be027fc6236b1 | |
| parent | 7789f9804ebf8e4b2a89b7e1eefff1577f737e13 (diff) | |
| download | rockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.zip rockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.tar.gz rockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.tar.bz2 rockbox-41354a85d9e0240121ad709ccbf704cf50c8addc.tar.xz | |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 8dede37..572eb26 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; |