summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkListbox.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/generic/tkListbox.c b/generic/tkListbox.c
index e29c637..ee6941e 100644
--- a/generic/tkListbox.c
+++ b/generic/tkListbox.c
@@ -3657,7 +3657,6 @@ static int GetMaxOffset(
maxOffset = 0;
}
- maxOffset -= maxOffset % listPtr->xScrollUnit;
return maxOffset;
}