mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Partial fix for FS#12702: playlist catalogue silently fails to save files
Change-Id: I13130f6b257b38e7a0d8ae22accd182330ff4e9f
This commit is contained in:
parent
a6e9ecb086
commit
3f3b738e06
1 changed files with 3 additions and 1 deletions
|
@ -233,8 +233,10 @@ static int add_to_playlist(const char* playlist, bool new_playlist,
|
||||||
fd = open(playlist, O_CREAT|O_WRONLY|O_APPEND, 0666);
|
fd = open(playlist, O_CREAT|O_WRONLY|O_APPEND, 0666);
|
||||||
|
|
||||||
if(fd < 0)
|
if(fd < 0)
|
||||||
|
{
|
||||||
|
splash(HZ*2, ID2P(LANG_FAILED));
|
||||||
return result;
|
return result;
|
||||||
|
}
|
||||||
/* In case we're in the playlist directory */
|
/* In case we're in the playlist directory */
|
||||||
reload_directory();
|
reload_directory();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue