summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-07-01 14:03:07 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-07-01 14:03:07 +0000
commitc26a0851624161741c18a9eeaf79324311e20bec (patch)
tree20153ed3a695fab704fe6c4e9011dafb5fb656f1 /apps
parent40b9fabcffafb922414fdf79e77e6f87242cb5c9 (diff)
Restore the WPS display correctly after leaving the F3 quick screen on Archos devices
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10172 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/gwps.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index d7a27e8eb9..b369edaf34 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -601,9 +601,19 @@ long gui_wps_show(void)
/* screen settings */
#ifdef BUTTON_F3
case BUTTON_F3:
+#ifdef HAVE_LCD_COLOR
+ show_main_backdrop();
+#endif
if (quick_screen_f3(button))
return SYS_USB_CONNECTED;
+#ifdef HAVE_LCD_BITMAP
+ FOR_NB_SCREENS(i)
+ {
+ gui_wps_set_margin(&gui_wps[i]);
+ }
+#endif
restore = true;
+ lastbutton = 0;
break;
#endif