diff options
author | culler <culler> | 2019-10-24 14:14:47 (GMT) |
---|---|---|
committer | culler <culler> | 2019-10-24 14:14:47 (GMT) |
commit | 885548ee95c2cfc0627d04b2fa22ad51117b9b55 (patch) | |
tree | 871aca7c04f9a09d7bb6f195251030a98235de6b /macosx/ttkMacOSXTheme.c | |
parent | ff1084424205d441c9aa41014da76bb7b9a92350 (diff) | |
download | tk-885548ee95c2cfc0627d04b2fa22ad51117b9b55.zip tk-885548ee95c2cfc0627d04b2fa22ad51117b9b55.tar.gz tk-885548ee95c2cfc0627d04b2fa22ad51117b9b55.tar.bz2 |
Aqua: Fix arithmetic error in ttk::scrollbar display.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r-- | macosx/ttkMacOSXTheme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c index 4f9c044..952aa20 100644 --- a/macosx/ttkMacOSXTheme.c +++ b/macosx/ttkMacOSXTheme.c @@ -2095,7 +2095,7 @@ static void TrackElementDraw( Tcl_GetDoubleFromObj(NULL, elem->fromObj, &from); Tcl_GetDoubleFromObj(NULL, elem->toObj, &to); Tcl_GetDoubleFromObj(NULL, elem->valueObj, &value); - factor = RangeToFactor(to - from); + factor = RangeToFactor(to); HIThemeTrackDrawInfo info = { .version = 0, |