diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-08 12:30:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-11-08 12:30:52 (GMT) |
commit | 0f2ffed961ac353e176a9666cbc40444ac0c99f9 (patch) | |
tree | fced1b6ff9ebe3c8c61cc2daf0a7a345a98ee74a /macosx/tkMacOSXDraw.c | |
parent | f0a49fb50d3f9081a6d15ab8a54ea7cfb81b50d8 (diff) | |
parent | 2140e227e9409b50834e84b180e1d3cb4a9d0ecc (diff) | |
download | tk-0f2ffed961ac353e176a9666cbc40444ac0c99f9.zip tk-0f2ffed961ac353e176a9666cbc40444ac0c99f9.tar.gz tk-0f2ffed961ac353e176a9666cbc40444ac0c99f9.tar.bz2 |
merge core-8-6-branch
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index f85d6ac..474ed41 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1695,13 +1695,13 @@ TkMacOSXSetupDrawingContext( CGContextSetTextDrawingMode(dc.context, kCGTextFill); CGContextConcatCTM(dc.context, t); if (dc.clipRgn) { - #ifdef TK_MAC_DEBUG_DRAWING +#ifdef TK_MAC_DEBUG_DRAWING CGContextSaveGState(dc.context); ChkErr(HIShapeReplacePathInCGContext, dc.clipRgn, dc.context); CGContextSetRGBFillColor(dc.context, 1.0, 0.0, 0.0, 0.1); CGContextEOFillPath(dc.context); CGContextRestoreGState(dc.context); - #endif /* TK_MAC_DEBUG_DRAWING */ +#endif /* TK_MAC_DEBUG_DRAWING */ CGRect r; if (!HIShapeIsRectangular(dc.clipRgn) || !CGRectContainsRect( *HIShapeGetBounds(dc.clipRgn, &r), |