summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authordrewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-08-09 21:06:44 +0000
committerdrewski207 <drewski207@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2007-08-09 21:06:44 +0000
commitf915027b4f6177ce68ba86f3dfd932e24a77ee3e (patch)
tree09b33418ec9b7c663205bac2f832ba99271a082e /src/gui
parent9a875f9926bf2c82934e378379508c5e19b8c02d (diff)
downloadfpGUI-f915027b4f6177ce68ba86f3dfd932e24a77ee3e.tar.xz
* Fixed scrollbar bug that the listview revealed
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui_scrollbar.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui_scrollbar.pas b/src/gui/gui_scrollbar.pas
index 6f16b2c7..ce236fef 100644
--- a/src/gui/gui_scrollbar.pas
+++ b/src/gui/gui_scrollbar.pas
@@ -364,7 +364,7 @@ begin
DrawSlider(False);
if area <> 0 then
- newp := FMin + Trunc((FMax - FMin) * FSliderPos / area)
+ newp := FMin + Trunc((FMax - FMin) * (FSliderPos / area))
else
newp := FMin;