diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index a0da3ac2d9..be9f2d0703 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -141,7 +141,7 @@ static bool list_viewers(void) | |||
141 | else | 141 | else |
142 | { | 142 | { |
143 | /* FIX: translation! */ | 143 | /* FIX: translation! */ |
144 | gui_syncsplash(HZ*2, true, (unsigned char *)"No viewers found"); | 144 | gui_syncsplash(HZ*2, (unsigned char *)"No viewers found"); |
145 | } | 145 | } |
146 | 146 | ||
147 | if (ret == PLUGIN_USB_CONNECTED) | 147 | if (ret == PLUGIN_USB_CONNECTED) |
@@ -173,7 +173,7 @@ static bool add_to_playlist(int position, bool queue) | |||
173 | }; | 173 | }; |
174 | struct text_message message={lines, 2}; | 174 | struct text_message message={lines, 2}; |
175 | 175 | ||
176 | gui_syncsplash(0, true, str(LANG_WAIT)); | 176 | gui_syncsplash(0, str(LANG_WAIT)); |
177 | 177 | ||
178 | if (new_playlist) | 178 | if (new_playlist) |
179 | playlist_create(NULL, NULL); | 179 | playlist_create(NULL, NULL); |
@@ -454,7 +454,7 @@ static int remove_dir(char* dirname, int len) | |||
454 | #endif | 454 | #endif |
455 | if(ACTION_STD_CANCEL == get_action(CONTEXT_STD,TIMEOUT_NOBLOCK)) | 455 | if(ACTION_STD_CANCEL == get_action(CONTEXT_STD,TIMEOUT_NOBLOCK)) |
456 | { | 456 | { |
457 | gui_syncsplash(HZ, true, str(LANG_MENU_SETTING_CANCEL)); | 457 | gui_syncsplash(HZ, str(LANG_MENU_SETTING_CANCEL)); |
458 | result = -1; | 458 | result = -1; |
459 | break; | 459 | break; |
460 | } | 460 | } |
@@ -522,12 +522,12 @@ static bool set_backdrop(void) | |||
522 | { | 522 | { |
523 | /* load the image */ | 523 | /* load the image */ |
524 | if(load_main_backdrop(selected_file)) { | 524 | if(load_main_backdrop(selected_file)) { |
525 | gui_syncsplash(HZ, true, str(LANG_BACKDROP_LOADED)); | 525 | gui_syncsplash(HZ, str(LANG_BACKDROP_LOADED)); |
526 | set_file(selected_file, (char *)global_settings.backdrop_file, MAX_FILENAME); | 526 | set_file(selected_file, (char *)global_settings.backdrop_file, MAX_FILENAME); |
527 | show_main_backdrop(); | 527 | show_main_backdrop(); |
528 | return true; | 528 | return true; |
529 | } else { | 529 | } else { |
530 | gui_syncsplash(HZ, true, str(LANG_BACKDROP_FAILED)); | 530 | gui_syncsplash(HZ, str(LANG_BACKDROP_FAILED)); |
531 | return false; | 531 | return false; |
532 | } | 532 | } |
533 | } | 533 | } |
@@ -575,7 +575,7 @@ static bool create_dir(void) | |||
575 | 575 | ||
576 | rc = mkdir(dirname); | 576 | rc = mkdir(dirname); |
577 | if (rc < 0) { | 577 | if (rc < 0) { |
578 | gui_syncsplash(HZ, true, (unsigned char *)"%s %s", | 578 | gui_syncsplash(HZ, (unsigned char *)"%s %s", |
579 | str(LANG_CREATE_DIR), str(LANG_FAILED)); | 579 | str(LANG_CREATE_DIR), str(LANG_FAILED)); |
580 | } else { | 580 | } else { |
581 | onplay_result = ONPLAY_RELOAD_DIR; | 581 | onplay_result = ONPLAY_RELOAD_DIR; |
@@ -849,7 +849,7 @@ static bool clipboard_paste(void) | |||
849 | /* Force reload of the current directory */ | 849 | /* Force reload of the current directory */ |
850 | onplay_result = ONPLAY_RELOAD_DIR; | 850 | onplay_result = ONPLAY_RELOAD_DIR; |
851 | } else { | 851 | } else { |
852 | gui_syncsplash(HZ, true, (unsigned char *)"%s %s", | 852 | gui_syncsplash(HZ, (unsigned char *)"%s %s", |
853 | str(LANG_PASTE), str(LANG_FAILED)); | 853 | str(LANG_PASTE), str(LANG_FAILED)); |
854 | } | 854 | } |
855 | 855 | ||