From: cristy Date: Fri, 19 Nov 2010 17:11:01 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~8486 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9768b939d2165dca5751438be9de7322ff7d6f1c;p=imagemagick --- diff --git a/coders/xbm.c b/coders/xbm.c index e94f2d97f..346841dbc 100644 --- a/coders/xbm.c +++ b/coders/xbm.c @@ -240,7 +240,7 @@ static Image *ReadXBMImage(const ImageInfo *image_info,ExceptionInfo *exception) (LocaleCompare(name+strlen(name)-7,"_height") == 0)) break; image->columns=width; - image->rows=width; + image->rows=height; image->depth=8; image->storage_class=PseudoClass; image->colors=2;