summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-06-13 23:06:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-06-13 23:06:30 +0000
commit881d22633972f32b7f422e2f290daf5954a63bc8 (patch)
tree690f5f605dec26735c059aa1309ce490647fdd25
parentfd99f2210f3df8889a55230fd310b0724bb37857 (diff)
downloadrockbox-881d22633972f32b7f422e2f290daf5954a63bc8.tar.gz
rockbox-881d22633972f32b7f422e2f290daf5954a63bc8.zip
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
-rw-r--r--apps/playlist.c2
1 files changed, 1 insertions, 1 deletions
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 )
142 for(count=0; count < nread; count++,p++) { 142 for(count=0; count < nread; count++,p++) {
143 143
144 /* Are we on a new line? */ 144 /* Are we on a new line? */
145 if(((*p == '\n') || (*p == '\r')) && (!store_index)) 145 if((*p == '\n') || (*p == '\r'))
146 { 146 {
147 store_index = 1; 147 store_index = 1;
148 } 148 }