diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-12-26 14:55:18 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2018-12-26 14:55:18 (GMT) |
commit | b68e469c6fcec04a86935ae2e8853197213f40db (patch) | |
tree | 164aafce2e7295d828252e8f67e1696ed5720c73 /generic/tkRectOval.c | |
parent | 81b0bd7641a9d2f63154c97d41c27bbb696ef674 (diff) | |
download | tk-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.c | 2 |
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 |