summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/checkwps/checkwps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index b4c2d60d90..e9d023306f 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -274,6 +274,8 @@ int main(int argc, char **argv)
if((strcmp(&argv[filearg][strlen(argv[filearg])-4], "rwps") == 0) ||
(strcmp(&argv[filearg][strlen(argv[filearg])-4], "rsbs") == 0))
screen = SCREEN_REMOTE;
+ else
+ screen = SCREEN_MAIN;
#endif
wps_screen = &screens[screen];