summaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorSimon Howard2014-04-29 01:47:13 -0400
committerSimon Howard2014-04-29 01:47:13 -0400
commit242fa1ee46f90f451c625e90f16927e13030c0a0 (patch)
tree78dd08552f78d21e3d99dfd39755aaba1f875178 /data/Makefile.am
parentdb9aee2bebf410ed9e4d44b1fae35a27de40289f (diff)
downloadchocolate-doom-242fa1ee46f90f451c625e90f16927e13030c0a0.tar.gz
chocolate-doom-242fa1ee46f90f451c625e90f16927e13030c0a0.tar.bz2
chocolate-doom-242fa1ee46f90f451c625e90f16927e13030c0a0.zip
textscreen: Fix jump when clicking on scrollbars.
Clicking on a scrollbar should scroll the cursor to that location, but the logic for it was buggy because of loss of precision when doing an integer divide. When dividing by bar_max, seek up to the nearest value so that the cursor always arrives where we clicked. Thanks to Alexandre-Xavier for reporting this bug. This fixes #359.
Diffstat (limited to 'data/Makefile.am')
0 files changed, 0 insertions, 0 deletions