From 881d22633972f32b7f422e2f290daf5954a63bc8 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 13 Jun 2002 23:06:30 +0000 Subject: 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 --- apps/playlist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/playlist.c b/apps/playlist.c index e46a7faa9e..7b1ec5990a 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -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; } -- cgit v1.2.3