1
0
Fork 0
forked from len0rd/rockbox

Only handle # comments in file based playlists

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-09-12 07:51:49 +00:00
parent 8a1187e80a
commit 0be1d26674

View file

@ -336,11 +336,12 @@ void add_indices_to_playlist(void)
{
store_index = 1;
}
else if((*p == '#') && store_index)
else if(!playlist.in_ram && (*p == '#') && store_index)
{
/* If the first character on a new line is a hash
sign, we treat it as a comment. So called winamp
style playlist. */
style playlist.
This applies only to playlist files, of course */
store_index = 0;
}
else if(store_index)