diff options
-rw-r--r-- | generic/tkImgPhoto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index cadbb2d..9c5f91c 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -3173,7 +3173,7 @@ Tk_PhotoPutZoomedBlock( * Zero-sized blocks never cause any changes. [Bug 3078902] */ - if (blockPtr->height == 0 || blockPtr->width == 0) { + if (blockPtr->height <= 0 || blockPtr->width <= 0) { return TCL_OK; } |