summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-11-02 14:07:00 +0300
committerStefano Karapetsas <[email protected]>2014-11-26 09:47:55 +0100
commit10e21cca0552688d8abf3e69de265370558e40d1 (patch)
tree192271fe0090ed2d642c90fb168182237c1d906c
parentb25395fab6fe9ee38bc0cd359941d0a825d88451 (diff)
downloadmarco-10e21cca0552688d8abf3e69de265370558e40d1.tar.bz2
marco-10e21cca0552688d8abf3e69de265370558e40d1.tar.xz
wm-tester: correct NULL pointer check
Closes https://github.com/mate-desktop/marco/pull/144
-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;
}