Move set_program_name and init_nls to host_init. On windows
fix in this fuction console and argument charset as well.
This commit is contained in:
parent
4cd3c4fec7
commit
ae5540d3d4
24 changed files with 282 additions and 78 deletions
|
@ -146,8 +146,7 @@ main (int argc, char *argv[])
|
|||
int found_input = 0, found_cmd = 0;
|
||||
struct grub_script *script = NULL;
|
||||
|
||||
set_program_name (argv[0]);
|
||||
grub_util_init_nls ();
|
||||
grub_util_host_init (&argc, &argv);
|
||||
|
||||
memset (&ctx.arguments, 0, sizeof (struct arguments));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue