summaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index 3a93806..eae817e 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -750,6 +750,7 @@ do_string_keyword(int keyword, char *s)
unsigned width = 0;
unsigned height = 0;
unsigned mask = 0;
+ int dummy = 0;
switch (keyword) {
case kws_UsePPosition:
@@ -801,7 +802,7 @@ do_string_keyword(int keyword, char *s)
return 1;
case kws_MaxWindowSize:
- mask = (unsigned) XParseGeometry(s, &JunkX, &JunkY, &width, &height);
+ mask = (unsigned) XParseGeometry(s, &dummy, &dummy, &width, &height);
if ((mask & (WidthValue | HeightValue)) !=
(WidthValue | HeightValue)) {
parseWarning("bad MaxWindowSize \"%s\"", s);