aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenPopup.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenPopup.pas b/Game/Code/Screens/UScreenPopup.pas
index e3cf6f0a..e7d6ce00 100644
--- a/Game/Code/Screens/UScreenPopup.pas
+++ b/Game/Code/Screens/UScreenPopup.pas
@@ -763,10 +763,10 @@ var
h, offset: integer;
begin
- maxh := ScreenH+ScreenH-Rect.Bottom;
+ maxh := 2*RenderH+Rect.Bottom;
h := 0;
- offset := round(Help.GetScrollPos()*(max_high-ScreenH+ScreenH-Rect.Bottom));
+ offset := round(Help.GetScrollPos()*(max_high-Rect.Bottom));
I := 0;
while (I<Length(TextsGFX)) and (h<maxh) do