2006-04-01 Vesa Jaaskelainen <chaac@nic.fi>
* normal/main.c (grub_normal_menu_addentry): Fixed menu size calculation. (read_config_file): Made it to close file before returning.
This commit is contained in:
parent
b4b9367408
commit
65f201ad2a
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2006-04-01 Vesa Jaaskelainen <chaac@nic.fi>
|
||||||
|
|
||||||
|
* normal/main.c (grub_normal_menu_addentry): Fixed menu size
|
||||||
|
calculation.
|
||||||
|
(read_config_file): Made it to close file before returning.
|
||||||
|
|
||||||
2006-03-31 Vesa Jaaskelainen <chaac@nic.fi>
|
2006-03-31 Vesa Jaaskelainen <chaac@nic.fi>
|
||||||
|
|
||||||
* DISTLIST: Added include/grub/i386/pc/vbeblit.h,
|
* DISTLIST: Added include/grub/i386/pc/vbeblit.h,
|
||||||
|
|
|
@ -153,6 +153,8 @@ grub_normal_menu_addentry (const char *title, struct grub_script *script,
|
||||||
(*last)->next = 0;
|
(*last)->next = 0;
|
||||||
(*last)->sourcecode = sourcecode;
|
(*last)->sourcecode = sourcecode;
|
||||||
|
|
||||||
|
current_menu->size++;
|
||||||
|
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -223,10 +225,8 @@ read_config_file (const char *config)
|
||||||
grub_script_free (parsed_script);
|
grub_script_free (parsed_script);
|
||||||
}
|
}
|
||||||
|
|
||||||
return newmenu;
|
|
||||||
|
|
||||||
grub_file_close (file);
|
grub_file_close (file);
|
||||||
return 0;
|
return newmenu;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This starts the normal mode. */
|
/* This starts the normal mode. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue