mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Fix bug adding a playlist to another playlist doesn't finish if it has UTF-8 BOM introduced by r24718.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27906 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b16afb4356
commit
251c8d411a
1 changed files with 2 additions and 2 deletions
|
@ -381,9 +381,9 @@ static int add_to_playlist(const char* playlist, bool new_playlist,
|
|||
if (f < 0)
|
||||
goto exit;
|
||||
|
||||
i = lseek(f, 0, SEEK_CUR);
|
||||
fs = filesize(f);
|
||||
|
||||
for (i=0; i<fs;)
|
||||
while (i < fs)
|
||||
{
|
||||
int n;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue