diff options
-rw-r--r-- | apps/gui/wps.c | 2 |
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 */ |