From: Vladimir 'phcoder' Serbinenko Date: Mon, 23 Sep 2013 11:40:07 +0000 (+0200) Subject: * grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which X-Git-Tag: grub-2.02-beta1~824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=621bed699006c6bbafb22bf91ba7a48e7fc01265;p=thirdparty%2Fgrub.git * grub-core/video/efi_gop.c (grub_video_gop_setup): Fix a typo which desactivated use of EDID at all. --- diff --git a/ChangeLog b/ChangeLog index e1e07ecc9..e4bbda818 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-09-23 Vladimir Serbinenko + + * 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 2013-09-23 neil diff --git a/grub-core/video/efi_gop.c b/grub-core/video/efi_gop.c index f73a278b7..428564400 100644 --- a/grub-core/video/efi_gop.c +++ b/grub-core/video/efi_gop.c @@ -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;