* grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
desactivated use of EDID at all.
This commit is contained in:
parent
71764dc8ca
commit
621bed6990
2 changed files with 6 additions and 2 deletions
|
@ -367,8 +367,7 @@ grub_video_gop_setup (unsigned int width, unsigned int height,
|
|||
|
||||
if (width == 0 && height == 0)
|
||||
{
|
||||
err = 1;
|
||||
grub_gop_get_preferred_mode (&preferred_width, &preferred_height);
|
||||
err = grub_gop_get_preferred_mode (&preferred_width, &preferred_height);
|
||||
if (err || preferred_width >= 4096 || preferred_height >= 4096)
|
||||
{
|
||||
preferred_width = 800;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue