summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/gwps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index 44b8514..71a8a01 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -700,7 +700,7 @@ long gui_wps_show(void)
return GO_TO_PREVIOUS;
}
- if ( !IS_SYSEVENT(button) )
+ if (button && !IS_SYSEVENT(button) )
storage_spin();
}
return GO_TO_ROOT; /* unreachable - just to reduce compiler warnings */