summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2024-06-08 08:54:50 (GMT)
committerfvogel <fvogelnew1@free.fr>2024-06-08 08:54:50 (GMT)
commit249fc690380f4cb9524794298a86a314ee4d53a5 (patch)
treefe326bbe0f35c75f2f260b4c8ddc90a91ea7d4f0 /generic
parent9e67b3bff485409680adc5c89f47fe54adcc457b (diff)
downloadtk-249fc690380f4cb9524794298a86a314ee4d53a5.zip
tk-249fc690380f4cb9524794298a86a314ee4d53a5.tar.gz
tk-249fc690380f4cb9524794298a86a314ee4d53a5.tar.bz2
Add explanatory comment.
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgPhoto.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 9c5f91c..61d1c9b 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -3171,6 +3171,8 @@ Tk_PhotoPutZoomedBlock(
/*
* Zero-sized blocks never cause any changes. [Bug 3078902]
+ * Negative-size blocks happen when trying to copy from an area outside
+ * the source image. [Bug a0241c0e25]
*/
if (blockPtr->height <= 0 || blockPtr->width <= 0) {