From fefbe0fe43e190f1b3083f4fbe1297b55f3feb66 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Fri, 19 Jan 2018 13:02:01 +0100 Subject: [PATCH] Corrected check. --- coders/sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- 2.50.1