Fix Display_help() check when start_line > 0

This commit is contained in:
Thomas Bernard 2018-11-18 22:45:44 +01:00
parent 4e6a3d81c6
commit cdffabaf51

View File

@ -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,