diff options
Diffstat (limited to 'apps/filetree.c')
-rw-r--r-- | apps/filetree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/filetree.c b/apps/filetree.c index e8fb459d52..cac2c79034 100644 --- a/apps/filetree.c +++ b/apps/filetree.c | |||
@@ -104,7 +104,7 @@ bool ft_play_playlist(char* pathname, char* dirname, char* filename) | |||
104 | if (global_settings.warnon_erase_dynplaylist && | 104 | if (global_settings.warnon_erase_dynplaylist && |
105 | playlist_modified(NULL)) | 105 | playlist_modified(NULL)) |
106 | { | 106 | { |
107 | char *lines[] = {ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; | 107 | const char *lines[] = {ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; |
108 | struct text_message message = {lines, 1}; | 108 | struct text_message message = {lines, 1}; |
109 | 109 | ||
110 | if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) | 110 | if (gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) |
@@ -408,8 +408,8 @@ int ft_enter(struct tree_context* c) | |||
408 | !global_settings.party_mode && | 408 | !global_settings.party_mode && |
409 | playlist_modified(NULL)) | 409 | playlist_modified(NULL)) |
410 | { | 410 | { |
411 | char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; | 411 | static const char *lines[]={ID2P(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; |
412 | struct text_message message={lines, 1}; | 412 | static const struct text_message message={lines, 1}; |
413 | 413 | ||
414 | if(gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) | 414 | if(gui_syncyesno_run(&message, NULL, NULL) != YESNO_YES) |
415 | break; | 415 | break; |