From: Dirk Lemstra Date: Fri, 19 Jan 2018 12:02:01 +0000 (+0100) Subject: Corrected check. X-Git-Tag: 7.0.7-22~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fefbe0fe43e190f1b3083f4fbe1297b55f3feb66;p=imagemagick Corrected check. --- diff --git a/coders/sixel.c b/coders/sixel.c index d4a427875..bd006629d 100644 --- a/coders/sixel.c +++ b/coders/sixel.c @@ -377,7 +377,7 @@ MagickBooleanType sixel_decode(unsigned char /* in */ *p, /* DECGRI Graphics Repeat Introducer ! Pn Ch */ p = get_params(++p, param, &n); - if ((n > 0) && (param[0] > 1)) { + if ((n > 0) && (param[0] > 0)) { repeat_count = param[0]; }