mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 00:59:55 +00:00
fix FP info handling
This commit is contained in:
1 parent
4f8ba1461b
commit
cb918eddf4
1 file changed
+2
-2
@@ -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);
|
status = grub_vbe_bios_get_flat_panel_info (flat_panel_info);
|
||||||
if (status == GRUB_VBE_STATUS_OK)
|
if (status == GRUB_VBE_STATUS_OK)
|
||||||
{
|
{
|
||||||
*width = flat_panel_info.horizontal_size;
|
*width = flat_panel_info->horizontal_size;
|
||||||
*height = flat_panel_info.vertical_size;
|
*height = flat_panel_info->vertical_size;
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user