mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Update playlist.c
This commit is contained in:
parent
edf58d9e29
commit
c6bc316e04
@ -466,9 +466,9 @@ static bool playlist_read_file(
|
||||
/* Read playlist entry and terminate string with NULL
|
||||
* regardless of Windows or Unix line endings
|
||||
*/
|
||||
if(last = strrchr(buf[i], '\r'))
|
||||
if((last = strrchr(buf[i], '\r')))
|
||||
*last = '\0';
|
||||
else if(last = strrchr(buf[i], '\n'))
|
||||
else if((last = strrchr(buf[i], '\n')))
|
||||
*last = '\0';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user