diff options
author | fvogel <fvogelnew1@free.fr> | 2017-09-16 15:16:30 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-09-16 15:16:30 (GMT) |
commit | ce9091258c15cdfb69b155dd6a1c9bc842ec5398 (patch) | |
tree | 5ff3d75974f69c18d14230d9d756e34a9185af22 /generic | |
parent | 05bb75c5a0b9da22873a15b9a512690fd5e4d148 (diff) | |
parent | bfadf0a296614700bb876cfcf6da56d8bad61e99 (diff) | |
download | tk-ce9091258c15cdfb69b155dd6a1c9bc842ec5398.zip tk-ce9091258c15cdfb69b155dd6a1c9bc842ec5398.tar.gz tk-ce9091258c15cdfb69b155dd6a1c9bc842ec5398.tar.bz2 |
Fix order of tests in tkImgListFormat.c. This was discovered when analyzing [829925ffff]: image put errors on {} color
Diffstat (limited to 'generic')
-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 */ |