Fix typo in test-resizing.c

Check heightp not *heightp before assigning to heightp

https://bugzilla.gnome.org/show_bug.cgi?id=602349
This commit is contained in:
Nickolas Lloyd 2009-11-19 17:39:15 -05:00 committed by Owen W. Taylor
parent 7579b691df
commit 01ce961c00

View File

@ -79,7 +79,7 @@ get_size (Display *d, Drawable draw,
*yp = y;
if (widthp)
*widthp = width;
if (*heightp)
if (heightp)
*heightp = height;
}