summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wm-tester/test-resizing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wm-tester/test-resizing.c b/src/wm-tester/test-resizing.c
index 344b8325..337e304b 100644
--- a/src/wm-tester/test-resizing.c
+++ b/src/wm-tester/test-resizing.c
@@ -79,7 +79,7 @@ get_size (Display *d, Drawable draw,
*yp = y;
if (widthp)
*widthp = width;
- if (*heightp)
+ if (heightp)
*heightp = height;
}