diff options
author | culler <culler> | 2019-11-19 00:46:50 (GMT) |
---|---|---|
committer | culler <culler> | 2019-11-19 00:46:50 (GMT) |
commit | 8974b47b859c48701323a72dab851fe81a8cb0d6 (patch) | |
tree | 1b3e0fa93c9116280cdd13154a20fbe1cfcdb1bd /macosx/tkMacOSXDraw.c | |
parent | f3e045cc474203fdfb1a77892eadfba33275509c (diff) | |
download | tk-8974b47b859c48701323a72dab851fe81a8cb0d6.zip tk-8974b47b859c48701323a72dab851fe81a8cb0d6.tar.gz tk-8974b47b859c48701323a72dab851fe81a8cb0d6.tar.bz2 |
Correct some errors revealed by building on macOS 10.6
Diffstat (limited to 'macosx/tkMacOSXDraw.c')
-rw-r--r-- | macosx/tkMacOSXDraw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXDraw.c b/macosx/tkMacOSXDraw.c index f19198d..1bf2572 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -503,7 +503,7 @@ TkMacOSXGetNSImageWithTkImage( { Pixmap pixmap; NSImage *nsImage; - if (width == 0 | height == 0) { + if (width == 0 || height == 0) { return nsImage = [[NSImage alloc] initWithSize:NSMakeSize(0,0)]; } pixmap = Tk_GetPixmap(display, None, width, height, 0); |