summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2009-06-18 13:50:11 +0000
committerMarianne Arnold <pixelma@rockbox.org>2009-06-18 13:50:11 +0000
commit49c9ab8120ed26b2969a67c62ad6563b77aa4aa3 (patch)
treecb7c84080c981fc9aea506549dbdfa1335700c83
parentc4e18f373f4e3eb99ce942c66c2d08057e9ea7bc (diff)
downloadrockbox-49c9ab8120ed26b2969a67c62ad6563b77aa4aa3.tar.gz
rockbox-49c9ab8120ed26b2969a67c62ad6563b77aa4aa3.zip
Restore the ACTION_REDRAW case as it was before r20661 (with a slight change as suggested by Thomas Martitz). Without it you could get trapped in the WPS on targets with software hold as disabling hold again did not work correctly. Also fix(ed) typos...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21325 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/gwps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index af9cea6419..50382a58ad 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -768,8 +768,9 @@ long gui_wps_show(void)
768 break; 768 break;
769#endif /* HAVE_TOUCHSCREEN */ 769#endif /* HAVE_TOUCHSCREEN */
770 case ACTION_REDRAW: /* yes are locked, just redraw */ 770 case ACTION_REDRAW: /* yes are locked, just redraw */
771 /* fall througgh */ 771 wps_state.do_full_update = true;
772 case ACTION_NONE: /* Timeout, do an partial update */ 772 break;
773 case ACTION_NONE: /* Timeout, do a partial update */
773 update = true; 774 update = true;
774 ffwd_rew(button); /* hopefully fix the ffw/rwd bug */ 775 ffwd_rew(button); /* hopefully fix the ffw/rwd bug */
775 break; 776 break;