From cdffabaf51657fb1023290658a4b2a7dcc10b1ba Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sun, 18 Nov 2018 22:45:44 +0100 Subject: [PATCH] Fix Display_help() check when start_line > 0 --- src/help.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/help.c b/src/help.c index b2e8d7f5..47678936 100644 --- a/src/help.c +++ b/src/help.c @@ -416,7 +416,7 @@ void Display_help(void) for (line_index=0;line_index<16;line_index++) { // Shortcut au cas ou la section fait moins de 16 lignes - if (line_index >= Help_section[Current_help_section].Length) + if ((line_index + start_line) >= Help_section[Current_help_section].Length) { Window_rectangle (x_pos, y_pos + line_index*8,