summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
*