summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2006-03-25 06:08:16 (GMT)
committerdas <das>2006-03-25 06:08:16 (GMT)
commitfdcd47db9dfd574392d0ef615177b3435fd923c8 (patch)
treea1e2a3672d454861f9b8c62a7995c8da82692e37
parenta271acf3378e127ddeab36d429a0eb749f662386 (diff)
downloadtk-fdcd47db9dfd574392d0ef615177b3435fd923c8.zip
tk-fdcd47db9dfd574392d0ef615177b3435fd923c8.tar.gz
tk-fdcd47db9dfd574392d0ef615177b3435fd923c8.tar.bz2
* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):
* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): performance improvements, sync similar code, formatting & whitespace.
-rw-r--r--macosx/tkMacOSXDraw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index 2552345..0e38e90 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.11 2006/03/25 06:02:43 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.12 2006/03/25 06:08:16 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -1745,7 +1745,7 @@ TkMacOSXSetUpCGContext(
err = QDBeginCGContext(destPort, contextPtr);
outContext = *contextPtr;
-
+
/*
* Now clip the CG Context to the port. Note, we have already
* set up the port with our clip region, so we can just get
@@ -1755,7 +1755,7 @@ TkMacOSXSetUpCGContext(
* We also have to intersect our clip region with the port
* visible region so we don't overwrite the window decoration.
*/
-
+
if (!clipRgn) {
clipRgn = NewRgn();
}