1
0
Fork 0
forked from len0rd/rockbox

allow CRLF or LF or in fact just CR too as line separators

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@990 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-06-13 23:06:30 +00:00
parent fd99f2210f
commit 881d226339

View file

@ -142,7 +142,7 @@ void add_indices_to_playlist( playlist_info_t *playlist )
for(count=0; count < nread; count++,p++) {
/* Are we on a new line? */
if(((*p == '\n') || (*p == '\r')) && (!store_index))
if((*p == '\n') || (*p == '\r'))
{
store_index = 1;
}