forked from len0rd/rockbox
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:
parent
7789f9804e
commit
41354a85d9
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue