summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 284aa57..b4ffe2a 100644
--- a/apps/gui/wps.c
+++ b/apps/gui/wps.c
@@ -688,7 +688,7 @@ static void gwps_enter_wps(void)
#ifdef HAVE_TOUCHSCREEN
gwps = skin_get_gwps(WPS, SCREEN_MAIN);
skin_disarm_touchregions(gwps->data);
- if (!gwps->data->touchregions)
+ if (gwps->data->touchregions < 0)
touchscreen_set_mode(TOUCHSCREEN_BUTTON);
#endif
/* force statusbar/skin update since we just cleared the whole screen */