* 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:
Vladimir 'phcoder' Serbinenko 2013-09-23 13:40:07 +02:00
parent 71764dc8ca
commit 621bed6990
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which
desactivated use of EDID at all.
2013-09-23 Vladimir Serbinenko <phcoder@gmail.com>
2013-09-23 neil

View file

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