diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-05-19 21:04:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-05-19 21:05:43 -0400 |
commit | 62da4ad84b4223fc18e7473d2500c51b6fd2c0ff (patch) | |
tree | 1677a0d4acff79531e10e6183fb902de2ca03b93 /apps/playlist_catalog.c | |
parent | dfe409c9938382a6195968a1a078bed0682f519a (diff) | |
download | rockbox-62da4ad84b4223fc18e7473d2500c51b6fd2c0ff.tar.gz rockbox-62da4ad84b4223fc18e7473d2500c51b6fd2c0ff.zip |
voice: Correct all uses of spashf() with an ID2P() argument
...Instead voice the string and all of the arguments manually.
Change-Id: Ic030b2f00c90cb372ff5b781a8de4bcb19375d5d
Diffstat (limited to 'apps/playlist_catalog.c')
-rw-r--r-- | apps/playlist_catalog.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/playlist_catalog.c b/apps/playlist_catalog.c index 69bcc54209..877f037387 100644 --- a/apps/playlist_catalog.c +++ b/apps/playlist_catalog.c | |||
@@ -95,7 +95,12 @@ static int initialize_catalog_buf(char* dirbuf, size_t dirbuf_sz) | |||
95 | if (!dir_exists(dirbuf)) | 95 | if (!dir_exists(dirbuf)) |
96 | { | 96 | { |
97 | if (mkdir(dirbuf) < 0) { | 97 | if (mkdir(dirbuf) < 0) { |
98 | splashf(HZ*2, ID2P(LANG_CATALOG_NO_DIRECTORY), dirbuf); | 98 | if (global_settings.talk_menu) { |
99 | talk_id(LANG_CATALOG_NO_DIRECTORY, true); | ||
100 | talk_dir_or_spell(dirbuf, NULL, true); | ||
101 | talk_force_enqueue_next(); | ||
102 | } | ||
103 | splashf(HZ*2, str(LANG_CATALOG_NO_DIRECTORY), dirbuf); | ||
99 | return -1; | 104 | return -1; |
100 | } | 105 | } |
101 | else { | 106 | else { |
@@ -469,7 +474,7 @@ bool catalog_add_to_a_playlist(const char* sel, int sel_attr, | |||
469 | } | 474 | } |
470 | else | 475 | else |
471 | strmemccpy(playlist, m3u8name, sizeof(playlist)); | 476 | strmemccpy(playlist, m3u8name, sizeof(playlist)); |
472 | 477 | ||
473 | if (!catalog_pick_new_playlist_name(playlist, sizeof(playlist), NULL)) | 478 | if (!catalog_pick_new_playlist_name(playlist, sizeof(playlist), NULL)) |
474 | return false; | 479 | return false; |
475 | } | 480 | } |