summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2016-01-18 18:43:27 (GMT)
committerfvogel <fvogelnew1@free.fr>2016-01-18 18:43:27 (GMT)
commit65f1c08a6b543a6c25ad704beb200541fc7f6a94 (patch)
tree3218325dd629d3be5ef6bc5eff5c7b473685a7aa /generic
parent60426c4ec3415ab57206d57f49f672f407b94a86 (diff)
downloadtk-65f1c08a6b543a6c25ad704beb200541fc7f6a94.zip
tk-65f1c08a6b543a6c25ad704beb200541fc7f6a94.tar.gz
tk-65f1c08a6b543a6c25ad704beb200541fc7f6a94.tar.bz2
Reverted [5f396dacdc].
Diffstat (limited to 'generic')
-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;
}