diff options
author | culler <culler> | 2021-04-25 22:50:14 (GMT) |
---|---|---|
committer | culler <culler> | 2021-04-25 22:50:14 (GMT) |
commit | 2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf (patch) | |
tree | 3f2791af71dc9254797a51421ed520a1958210d0 /macosx/tkMacOSXDraw.c | |
parent | 45e129155eee3c174598146404e28b0cbdc02e5c (diff) | |
download | tk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.zip tk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.tar.gz tk-2b4875f9a8a916fa7fc7c821b0a73d668ec35cdf.tar.bz2 |
One more bit of code cleanup.
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 f642bda..d5396eb 100644 --- a/macosx/tkMacOSXDraw.c +++ b/macosx/tkMacOSXDraw.c @@ -1437,7 +1437,7 @@ TkMacOSXSetupDrawingContext( TkMacOSXSetColorInContext(gc, gc->foreground, dc.context); if (view) { - NSSize size = [view bounds].size; + CGSize size = NSSizeToCGSize([view bounds].size); CGContextSetPatternPhase(dc.context, size); } if (gc->function != GXcopy) { |