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
This commit is contained in:
Hardeep Sidhu 2004-01-29 05:37:54 +00:00
parent 7789f9804e
commit 41354a85d9

View File

@ -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;