summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXScrlbr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-16 14:43:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-03-16 14:43:59 (GMT)
commitfcb6be17dafdd55f33da3b09e925c9e58ef7c50e (patch)
tree616cac180179879289fee4769e71585c74a40d89 /macosx/tkMacOSXScrlbr.c
parentf4d065f882a5b1e40e347f851a20cd732d3aacbc (diff)
parent663171632ff30a634db7fceec2fe953bf083739a (diff)
downloadtk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.zip
tk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.tar.gz
tk-fcb6be17dafdd55f33da3b09e925c9e58ef7c50e.tar.bz2
Merge 8.7
Diffstat (limited to 'macosx/tkMacOSXScrlbr.c')
-rw-r--r--macosx/tkMacOSXScrlbr.c3
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;
/*