summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-12-06 10:30:13 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-12-06 10:30:13 +0000
commita55982d130c45ebb1b227296943b4173b61ce17d (patch)
tree7d278e3e92ab868fe1910691bbdb1d106a894a67 /apps/gui
parent694502a96576afb22af4de21dfb85002e8ab44fc (diff)
downloadrockbox-a55982d130c45ebb1b227296943b4173b61ce17d.tar.gz
rockbox-a55982d130c45ebb1b227296943b4173b61ce17d.zip
Fix touchscreens so entering the WPS with a skin with no touchregions reverts to grid mode (caused by r30991)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31156 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/wps.c b/apps/gui/wps.c
index 284aa57a3e..b4ffe2a88b 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -688,7 +688,7 @@ static void gwps_enter_wps(void)
688#ifdef HAVE_TOUCHSCREEN 688#ifdef HAVE_TOUCHSCREEN
689 gwps = skin_get_gwps(WPS, SCREEN_MAIN); 689 gwps = skin_get_gwps(WPS, SCREEN_MAIN);
690 skin_disarm_touchregions(gwps->data); 690 skin_disarm_touchregions(gwps->data);
691 if (!gwps->data->touchregions) 691 if (gwps->data->touchregions < 0)
692 touchscreen_set_mode(TOUCHSCREEN_BUTTON); 692 touchscreen_set_mode(TOUCHSCREEN_BUTTON);
693#endif 693#endif
694 /* force statusbar/skin update since we just cleared the whole screen */ 694 /* force statusbar/skin update since we just cleared the whole screen */