Subject: Fix order of tests in tkImgListFormat.c. This was discovered when analyzing [829925ffff]: image put errors on {} color

From: fvogel <[email-masked]>
Date: Sat, 16 Sep 2017 15:16:14 +0000

---
 generic/tkImgListFormat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generic/tkImgListFormat.c b/generic/tkImgListFormat.c
index 20f2c4e..90bd3f8 100644
--- a/generic/tkImgListFormat.c
+++ b/generic/tkImgListFormat.c
@@ -511,7 +511,7 @@ StringReadDef(
             != TCL_OK) {
         return TCL_ERROR;
     }
-    if (width <= 0 || height <= 0 || colCount == 0 || rowCount == 0) {
+    if (width <= 0 || height <= 0 || rowCount == 0 || colCount == 0) {
         /*
          * No changes with zero sized input or zero sized output region
          */
-- 
cgit v0.12