From: P. F. Chimento Date: Mon, 22 Nov 2010 22:14:19 +0000 (+0100) Subject: Fixed minor bug in glk_image_get_info() X-Git-Tag: v0.9~164 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=f92585f76bce0b8d1efc11d2b2020a0f516234c5;p=projects%2Fchimara%2Fchimara.git Fixed minor bug in glk_image_get_info() --- diff --git a/libchimara/graphics.c b/libchimara/graphics.c index 7f59915..a8a0318 100644 --- a/libchimara/graphics.c +++ b/libchimara/graphics.c @@ -220,7 +220,7 @@ glk_image_get_info(glui32 image, glui32 *width, glui32 *height) if(width != NULL) *width = found->width; - if(width != NULL) + if(height != NULL) *height = found->height; return TRUE; }