[mutter] Fix typo in test-resizing.c



commit 01ce961c009bdb2c95ed0a3950940d541488bce4
Author: Nickolas Lloyd <ultrageek lloyd gmail com>
Date:   Thu Nov 19 17:39:15 2009 -0500

    Fix typo in test-resizing.c
    
    Check heightp not *heightp before assigning to heightp
    
    https://bugzilla.gnome.org/show_bug.cgi?id=602349

 src/wm-tester/test-resizing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/wm-tester/test-resizing.c b/src/wm-tester/test-resizing.c
index f948100..616786f 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;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]