summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXDraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r--macosx/tkMacOSXDraw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c
index d662c2e..06a52a2 100644
--- a/macosx/tkMacOSXDraw.c
+++ b/macosx/tkMacOSXDraw.c
@@ -12,7 +12,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.17 2006/10/16 15:35:28 das Exp $
+ * RCS: @(#) $Id: tkMacOSXDraw.c,v 1.18 2006/10/16 16:25:38 das Exp $
*/
#include "tkMacOSXInt.h"
@@ -649,7 +649,7 @@ XDrawLines(
CGContextStrokePath(outContext);
TkMacOSXReleaseCGContext(macWin, destPort, &outContext);
} else {
- int o = - (lw / 2);
+ int o = -lw/2;
TkMacOSXSetUpGraphicsPort(gc, destPort);
ShowPen();
@@ -725,7 +725,7 @@ void XDrawSegments(
}
TkMacOSXReleaseCGContext(macWin, destPort, &outContext);
} else {
- int o = - (lw / 2);
+ int o = -lw/2;
TkMacOSXSetUpGraphicsPort(gc, destPort);
ShowPen();
@@ -1357,7 +1357,7 @@ XFillArc(
} else {
Rect theRect;
short start, extent;
- int o = - (lw / 2);
+ int o = -lw/2;
PolyHandle polygon;
double sin1, cos1, sin2, cos2, angle;
double boxWidth, boxHeight;
@@ -1499,7 +1499,7 @@ XFillArcs(
} else {
Rect theRect;
short start, extent;
- int o = - (lw / 2);
+ int o = -lw/2;
PolyHandle polygon;
double sin1, cos1, sin2, cos2, angle;
double boxWidth, boxHeight;