summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXRegion.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-08-11 14:08:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-08-11 14:08:07 (GMT)
commit2f0e2bae061937b0df9e7706be7e265b3fa0b3b0 (patch)
tree3a76df5f90cc1bd242bf4dc68f2dbcc3b81d5319 /macosx/tkMacOSXRegion.c
parent57ad1cd7057d0a9bd8ba4ca1465a9bc44e5b20e4 (diff)
parentacb6f7b259137644e34ba799e20432a0ced9be0a (diff)
downloadtk-2f0e2bae061937b0df9e7706be7e265b3fa0b3b0.zip
tk-2f0e2bae061937b0df9e7706be7e265b3fa0b3b0.tar.gz
tk-2f0e2bae061937b0df9e7706be7e265b3fa0b3b0.tar.bz2
Fix typo's, debug statements, C++-comment.
Diffstat (limited to 'macosx/tkMacOSXRegion.c')
-rw-r--r--macosx/tkMacOSXRegion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXRegion.c b/macosx/tkMacOSXRegion.c
index c716ab7..0f2a74a 100644
--- a/macosx/tkMacOSXRegion.c
+++ b/macosx/tkMacOSXRegion.c
@@ -207,7 +207,7 @@ TkRectInRegion(
if ( TkMacOSXIsEmptyRegion(region) ) {
return RectangleOut;
}
- else {
+ else {
const CGRect r = CGRectMake(x, y, width, height);
return HIShapeIntersectsRect((HIShapeRef) region, &r) ?
RectanglePart : RectangleOut;