summaryrefslogtreecommitdiffstats
path: root/generic/tkRectOval.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-26 14:55:18 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-12-26 14:55:18 (GMT)
commitb68e469c6fcec04a86935ae2e8853197213f40db (patch)
tree164aafce2e7295d828252e8f67e1696ed5720c73 /generic/tkRectOval.c
parent81b0bd7641a9d2f63154c97d41c27bbb696ef674 (diff)
downloadtk-b68e469c6fcec04a86935ae2e8853197213f40db.zip
tk-b68e469c6fcec04a86935ae2e8853197213f40db.tar.gz
tk-b68e469c6fcec04a86935ae2e8853197213f40db.tar.bz2
Change None/ControlMask on win32 (and MacOSX - which is harmless) to being an enum. This fixes (hopefully) the ***POTENTIAL INCOMPATABILITY*** in previous commit
Diffstat (limited to 'generic/tkRectOval.c')
-rw-r--r--generic/tkRectOval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkRectOval.c b/generic/tkRectOval.c
index 6ed4488..af94c6f 100644
--- a/generic/tkRectOval.c
+++ b/generic/tkRectOval.c
@@ -522,7 +522,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 ?
rectOvalPtr->outline.gc->line_width : 0;
mask |= GCLineWidth;
#endif