From: cristy Date: Wed, 9 Nov 2011 14:31:35 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~6668 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=099a73566dcb0cddef83ca4e94fe3e2534e6b19e;p=imagemagick --- diff --git a/MagickCore/string.c b/MagickCore/string.c index 66cfaf779..04c4d48d7 100644 --- a/MagickCore/string.c +++ b/MagickCore/string.c @@ -1388,11 +1388,8 @@ MagickExport double InterpretSiPrefixValue(const char *restrict string, } } } - if (*q == 'B') - { - value*=8.0; - q++; - } + if ((*q == 'b') || (*q == 'B')) + q++; } if (sentinal != (char **) NULL) *sentinal=q; diff --git a/config/policy.xml b/config/policy.xml index 28eda1786..19e979620 100644 --- a/config/policy.xml +++ b/config/policy.xml @@ -37,7 +37,7 @@ Any large image is cached to disk rather than memory: - + Note, resource policies are maximums for each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB exceeds policy maximum so memory limit @@ -48,8 +48,8 @@ - - + +