diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:02:57 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-06-17 13:02:57 (GMT) |
commit | a983245e41399dd76602e12f17bc3170de207680 (patch) | |
tree | 259f9d0d5c7d566b56ccbd47b46ed7d05ac528c5 /win/tkWinScrlbr.c | |
parent | c7155c6da59086934fe2e1567f5c3b0335a5b693 (diff) | |
download | tk-a983245e41399dd76602e12f17bc3170de207680.zip tk-a983245e41399dd76602e12f17bc3170de207680.tar.gz tk-a983245e41399dd76602e12f17bc3170de207680.tar.bz2 |
Move scrollbar sanity checks from platform-code to generic. Fix indenting in win/* files
Diffstat (limited to 'win/tkWinScrlbr.c')
-rw-r--r-- | win/tkWinScrlbr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/win/tkWinScrlbr.c b/win/tkWinScrlbr.c index 457b82f..a54deeb 100644 --- a/win/tkWinScrlbr.c +++ b/win/tkWinScrlbr.c @@ -394,10 +394,6 @@ TkpComputeScrollbarGeometry( * basic sanity checks to appease backwards compatibility. */ - if (scrollPtr->highlightWidth < 0) { - scrollPtr->highlightWidth = 0; - } - if (scrollPtr->vertical) { scrollPtr->arrowLength = vArrowHeight; fieldLength = Tk_Height(scrollPtr->tkwin); |