summaryrefslogtreecommitdiff
path: root/apps/gui/gwps-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r--apps/gui/gwps-common.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 8c349ea35c..26c5c5d637 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -152,7 +152,7 @@ bool update_onvol_change(struct gui_wps * gwps)
152 gui_wps_refresh(gwps, 0, WPS_REFRESH_NON_STATIC); 152 gui_wps_refresh(gwps, 0, WPS_REFRESH_NON_STATIC);
153 153
154#ifdef HAVE_LCD_CHARCELLS 154#ifdef HAVE_LCD_CHARCELLS
155 gui_splash(gwps->display, 0, "Vol: %3d dB", 155 splashf(0, "Vol: %3d dB",
156 sound_val2phys(SOUND_VOLUME, global_settings.volume)); 156 sound_val2phys(SOUND_VOLUME, global_settings.volume));
157 return true; 157 return true;
158#endif 158#endif
@@ -329,7 +329,7 @@ bool gui_wps_display(void)
329#ifdef HAVE_LCD_BITMAP 329#ifdef HAVE_LCD_BITMAP
330 gui_syncstatusbar_draw(&statusbars, true); 330 gui_syncstatusbar_draw(&statusbars, true);
331#endif 331#endif
332 gui_syncsplash(HZ, ID2P(LANG_END_PLAYLIST)); 332 splash(HZ, ID2P(LANG_END_PLAYLIST));
333 return true; 333 return true;
334 } 334 }
335 else 335 else
@@ -485,16 +485,11 @@ bool update(struct gui_wps *gwps)
485 485
486void display_keylock_text(bool locked) 486void display_keylock_text(bool locked)
487{ 487{
488 char* s;
489 int i; 488 int i;
490 FOR_NB_SCREENS(i) 489 FOR_NB_SCREENS(i)
491 gui_wps[i].display->stop_scroll(); 490 gui_wps[i].display->stop_scroll();
492 491
493 if(locked) 492 splash(HZ, locked ? ID2P(LANG_KEYLOCK_ON) : ID2P(LANG_KEYLOCK_OFF));
494 s = str(LANG_KEYLOCK_ON);
495 else
496 s = str(LANG_KEYLOCK_OFF);
497 gui_syncsplash(HZ, s);
498} 493}
499 494
500#ifdef HAVE_LCD_BITMAP 495#ifdef HAVE_LCD_BITMAP