diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-16 14:43:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-16 14:43:59 (GMT) |
commit | fcb6be17dafdd55f33da3b09e925c9e58ef7c50e (patch) | |
tree | 616cac180179879289fee4769e71585c74a40d89 /macosx/tkMacOSXScrlbr.c | |
parent | f4d065f882a5b1e40e347f851a20cd732d3aacbc (diff) | |
parent | 663171632ff30a634db7fceec2fe953bf083739a (diff) | |
download | tk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.zip tk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.tar.gz tk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.tar.bz2 |
Merge 8.7
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r-- | macosx/tkMacOSXScrlbr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/tkMacOSXScrlbr.c b/macosx/tkMacOSXScrlbr.c index abf2073..954498d 100644 --- a/macosx/tkMacOSXScrlbr.c +++ b/macosx/tkMacOSXScrlbr.c @@ -593,7 +593,7 @@ UpdateControlValues( MacDrawable *macWin = (MacDrawable *)Tk_WindowId(scrollPtr->tkwin); double dViewSize; HIRect contrlRect; - short width, height; + short height; NSView *view = TkMacOSXGetNSViewForDrawable(macWin); CGFloat viewHeight = [view bounds].size.height; @@ -607,7 +607,6 @@ UpdateControlValues( contrlRect = NSRectToCGRect(frame); msPtr->info.bounds = contrlRect; - width = contrlRect.size.width; height = contrlRect.size.height - scrollPtr->arrowLength; /* |