diff options
author | fvogel <fvogelnew1@free.fr> | 2017-09-16 15:16:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-09-16 15:16:14 (GMT) |
commit | b57d18ff055495e3fe2ee7da0fd58be84e81bea6 (patch) | |
tree | 2879d6a02df64ef6056584ee289b37afcc140624 /generic/tkImgListFormat.c | |
parent | 7dfd519b619b4144aaa3b1fa2a9b0d6771e3af54 (diff) | |
download | tk-b57d18ff055495e3fe2ee7da0fd58be84e81bea6.zip tk-b57d18ff055495e3fe2ee7da0fd58be84e81bea6.tar.gz tk-b57d18ff055495e3fe2ee7da0fd58be84e81bea6.tar.bz2 |
Fix order of tests in tkImgListFormat.c. This was discovered when analyzing [829925ffff]: image put errors on {} color
Diffstat (limited to 'generic/tkImgListFormat.c')
-rw-r--r-- | generic/tkImgListFormat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |