summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhoto.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-15 10:39:44 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-12-15 10:39:44 (GMT)
commitb0eddb29b1240282167b039fb78644bed3e0cf46 (patch)
tree4f9259e96e96b897b59a75e58fac56a551a3bd14 /generic/tkImgPhoto.c
parent932b3dbd904471176b4a9b35403ed423b7c2ddc2 (diff)
parent458337a57e04538b5ccfc312e9c0cfc7da8cbbcd (diff)
downloadtk-b0eddb29b1240282167b039fb78644bed3e0cf46.zip
tk-b0eddb29b1240282167b039fb78644bed3e0cf46.tar.gz
tk-b0eddb29b1240282167b039fb78644bed3e0cf46.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r--generic/tkImgPhoto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 0330ade..77526c1 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -3264,8 +3264,8 @@ Tk_PhotoPutBlock(
sourceBlock = *blockPtr;
memToFree = NULL;
if (modelPtr->pix32 && (sourceBlock.pixelPtr >= modelPtr->pix32)
- && (sourceBlock.pixelPtr < modelPtr->pix32 + modelPtr->width)
- * modelPtr->height * 4) {
+ && (sourceBlock.pixelPtr < modelPtr->pix32 + modelPtr->width
+ * modelPtr->height * 4)) {
/*
* Fix 5c51be6411: avoid reading
*
@@ -3710,8 +3710,8 @@ Tk_PhotoPutZoomedBlock(
sourceBlock = *blockPtr;
memToFree = NULL;
if (modelPtr->pix32 && (sourceBlock.pixelPtr >= modelPtr->pix32)
- && (sourceBlock.pixelPtr < modelPtr->pix32 + modelPtr->width)
- * modelPtr->height * 4) {
+ && (sourceBlock.pixelPtr < modelPtr->pix32 + modelPtr->width
+ * modelPtr->height * 4)) {
/*
* Fix 5c51be6411: avoid reading
*