Fix bug in -help video mode listing
The mode_index is being incremented by 12, but we are only displaying 6 video modes per line. This results in the "Available video modes" listing to ignore half of the valid video modes.
This commit is contained in:
parent
78d99fd337
commit
0953bc1f9b
@ -176,7 +176,7 @@ void Display_syntax(void)
|
||||
fputs(syntax, stdout);
|
||||
|
||||
i = snprintf(modes, sizeof(modes), "Available video modes:\n\n");
|
||||
for (mode_index = 0; mode_index < Nb_video_modes; mode_index += 12)
|
||||
for (mode_index = 0; mode_index < Nb_video_modes; mode_index += 6)
|
||||
{
|
||||
int k;
|
||||
for (k = 0; k < 6; k++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user