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 | bfadf0a296614700bb876cfcf6da56d8bad61e99 (patch) | |
tree | 2879d6a02df64ef6056584ee289b37afcc140624 | |
parent | d3a2a48d8d9a19d934337117c18de3084225b7eb (diff) | |
download | tk-tip_166.zip tk-tip_166.tar.gz tk-tip_166.tar.bz2 |
Fix order of tests in tkImgListFormat.c. This was discovered when analyzing [829925ffff]: image put errors on {} colortip_166
-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 */ |