diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2022-05-28 18:26:04 +0200 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-08-21 09:36:04 -0400 |
commit | 3f3b738e064c57b59dfffc0f75e52a45864ece49 (patch) | |
tree | ea56e032618db5d8230fe54b93afc8c1c6269019 /apps | |
parent | a6e9ecb0862b691ecadfa21381666158f76bddba (diff) | |
download | rockbox-3f3b738e064c57b59dfffc0f75e52a45864ece49.tar.gz rockbox-3f3b738e064c57b59dfffc0f75e52a45864ece49.zip |
Partial fix for FS#12702: playlist catalogue silently fails to save files
Change-Id: I13130f6b257b38e7a0d8ae22accd182330ff4e9f
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist_catalog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c index ba12ff6d98..98a2bb4cdb 100644 --- a/apps/playlist_catalog.c +++ b/apps/playlist_catalog.c | |||
@@ -233,8 +233,10 @@ static int add_to_playlist(const char* playlist, bool new_playlist, | |||
233 | fd = open(playlist, O_CREAT|O_WRONLY|O_APPEND, 0666); | 233 | fd = open(playlist, O_CREAT|O_WRONLY|O_APPEND, 0666); |
234 | 234 | ||
235 | if(fd < 0) | 235 | if(fd < 0) |
236 | { | ||
237 | splash(HZ*2, ID2P(LANG_FAILED)); | ||
236 | return result; | 238 | return result; |
237 | 239 | } | |
238 | /* In case we're in the playlist directory */ | 240 | /* In case we're in the playlist directory */ |
239 | reload_directory(); | 241 | reload_directory(); |
240 | 242 | ||