| commit | c3b9b36ae7d6ec7ef880abfcf3fae7dd4bdb51f7 | [log] [tgz] |
|---|---|---|
| author | cristy <urban-warrior@git.imagemagick.org> | Sat May 25 17:16:34 2013 +0000 |
| committer | cristy <urban-warrior@git.imagemagick.org> | Sat May 25 17:16:34 2013 +0000 |
| tree | 90b89f50dd9e0d5dc1a7df5ae9d9613ec99944f3 | |
| parent | e128ac5f55b30ae17a7feb1d0502a86558bdff70 [diff] [blame] |
diff --git a/MagickCore/string.c b/MagickCore/string.c index 86692e5..a12aece 100644 --- a/MagickCore/string.c +++ b/MagickCore/string.c
@@ -1114,6 +1114,7 @@ #endif for (i=0; (length >= bytes) && (units[i+1] != (const char *) NULL); i++) length/=bytes; + count=0; for (j=2; j < 12; j++) { count=FormatLocaleString(format,MaxTextExtent,"%.*g%sB",(int) (i+j),length,