summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-05-28 18:26:04 +0200
committerSolomon Peachy <pizza@shaftnet.org>2022-08-21 09:36:04 -0400
commit3f3b738e064c57b59dfffc0f75e52a45864ece49 (patch)
treeea56e032618db5d8230fe54b93afc8c1c6269019
parenta6e9ecb0862b691ecadfa21381666158f76bddba (diff)
downloadrockbox-3f3b738e06.tar.gz
rockbox-3f3b738e06.zip
Partial fix for FS#12702: playlist catalogue silently fails to save files
Change-Id: I13130f6b257b38e7a0d8ae22accd182330ff4e9f
-rw-r--r--apps/playlist_catalog.c4
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,
fd = open(playlist, O_CREAT|O_WRONLY|O_APPEND, 0666);
if(fd < 0)
+ {
+ splash(HZ*2, ID2P(LANG_FAILED));
return result;
-
+ }
/* In case we're in the playlist directory */
reload_directory();