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:
parent
fd99f2210f
commit
881d226339
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ void add_indices_to_playlist( playlist_info_t *playlist )
|
||||||
for(count=0; count < nread; count++,p++) {
|
for(count=0; count < nread; count++,p++) {
|
||||||
|
|
||||||
/* Are we on a new line? */
|
/* Are we on a new line? */
|
||||||
if(((*p == '\n') || (*p == '\r')) && (!store_index))
|
if((*p == '\n') || (*p == '\r'))
|
||||||
{
|
{
|
||||||
store_index = 1;
|
store_index = 1;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue