]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
fix FP info handling
authorColin Watson <cjwatson@ubuntu.com>
Mon, 17 Jan 2011 12:05:12 +0000 (12:05 +0000)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 17 Jan 2011 12:05:12 +0000 (12:05 +0000)
grub-core/video/i386/pc/vbe.c

index ea60c60749c639c427d0ac0dae9e8c1de6d0a942..c2b35a851e7ea2d66effd61afa5109b1a9651b67 100644 (file)
@@ -405,8 +405,8 @@ grub_vbe_get_preferred_mode (unsigned int *width, unsigned int *height)
   status = grub_vbe_bios_get_flat_panel_info (flat_panel_info);
   if (status == GRUB_VBE_STATUS_OK)
     {
-      *width = flat_panel_info.horizontal_size;
-      *height = flat_panel_info.vertical_size;
+      *width = flat_panel_info->horizontal_size;
+      *height = flat_panel_info->vertical_size;
       return GRUB_ERR_NONE;
     }