summaryrefslogtreecommitdiffstats
path: root/generic/tkListbox.c
diff options
context:
space:
mode:
authorfvogel <fvogel@noemail.net>2016-01-18 18:43:27 (GMT)
committerfvogel <fvogel@noemail.net>2016-01-18 18:43:27 (GMT)
commit380b695ab89733c13951f13a5b2c375a1e6483a3 (patch)
tree3218325dd629d3be5ef6bc5eff5c7b473685a7aa /generic/tkListbox.c
parentbdd2da248263b12dd49dae0d75d8f19e3a0639ab (diff)
downloadtk-380b695ab89733c13951f13a5b2c375a1e6483a3.zip
tk-380b695ab89733c13951f13a5b2c375a1e6483a3.tar.gz
tk-380b695ab89733c13951f13a5b2c375a1e6483a3.tar.bz2
Reverted [5f396dacdc].
FossilOrigin-Name: d1731afd46aa61dd01ef5f0a37814777b3e795d2
Diffstat (limited to 'generic/tkListbox.c')
-rw-r--r--generic/tkListbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index 04dab6f..c7effdd 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -3642,6 +3642,7 @@ static int GetMaxOffset(
maxOffset = 0;
}
+ maxOffset -= maxOffset % listPtr->xScrollUnit;
return maxOffset;
}