summaryrefslogtreecommitdiffstats
path: root/generic/tkRectOval.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-13 14:48:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-01-13 14:48:54 (GMT)
commit5cb97cd301ec4db2dde21a900ddf3593b5998aeb (patch)
tree2d94ba06a5b3bde7ec71535d59e0f5343d82d352 /generic/tkRectOval.c
parent587df2a3c0d221979267d8549003fa2dda184a38 (diff)
parentc5018a98c472597e3f6e1bb4717bdf89b89c2cf2 (diff)
downloadtk-5cb97cd301ec4db2dde21a900ddf3593b5998aeb.zip
tk-5cb97cd301ec4db2dde21a900ddf3593b5998aeb.tar.gz
tk-5cb97cd301ec4db2dde21a900ddf3593b5998aeb.tar.bz2
Merge 8.5
Diffstat (limited to 'generic/tkRectOval.c')
-rw-r--r--generic/tkRectOval.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tkRectOval.c b/generic/tkRectOval.c
index daae092..359d3ef 100644
--- a/generic/tkRectOval.c
+++ b/generic/tkRectOval.c
@@ -515,8 +515,7 @@ ConfigureRectOval(
* Mac OS X CG drawing needs access to the outline linewidth even for
* fills (as linewidth controls antialiasing).
*/
-
- gcValues.line_width = rectOvalPtr->outline.gc != None ?
+ gcValues.line_width = rectOvalPtr->outline.gc != NULL ?
rectOvalPtr->outline.gc->line_width : 0;
mask |= GCLineWidth;
#endif