summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 5512669..6ec3e59 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -1542,7 +1542,7 @@ TkScrollWindow(
frame.origin.x - macDraw->xOff + dx,
(bounds.size.height - frame.origin.y - frame.size.height) - macDraw->yOff + dy,
frame.size.width, frame.size.height);
- /* Rectangles with negative coordinates seem to cause trouble. */
+ // /* Rectangles with negative coordinates seem to cause trouble. */
if (subviewRect.origin.y < 0 && subviewRect.origin.y + subviewRect.size.height > 0) {
subviewRect.origin.y = 0;
}
@@ -1553,7 +1553,6 @@ TkScrollWindow(
CFRelease(dstRgn);
}
}
-
}
}