summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/checkwps/checkwps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 5789f05e88..74f1941f6c 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -431,7 +431,7 @@ int main(int argc, char **argv)
int filearg = 1;
struct wps_data wps;
- struct screen* wps_screen;
+ struct screen* wps_screen = &screens[SCREEN_MAIN];
/* No arguments -> print the help text
* Also print the help text upon -h or --help */