mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Update playlist.c
This commit is contained in:
parent
f710129f32
commit
72d31c6fbe
@ -463,8 +463,8 @@ static bool playlist_read_file(
|
||||
if (!filestream_gets(file, buf[i], sizeof(buf[i])))
|
||||
goto end;
|
||||
|
||||
/* Read playlist entry regardless
|
||||
* of Windows or Unix line endings
|
||||
/* Read playlist entry and terminate string with NULL
|
||||
* regardless of Windows or Unix line endings
|
||||
*/
|
||||
if((last = strpbrk(buf[i], "\n\r")))
|
||||
*last = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user