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:
Vladimir 'phcoder' Serbinenko committed 2013-10-13 20:03:42 +02:00
1 parent 4cd3c4fec7
commit ae5540d3d4
24 files changed
+282 -78

No files matched your search

+1 -1
View File
@@ -168,7 +168,7 @@ main (int argc, char *argv[])
FILE *in32, *in64, *out;
struct arguments arguments;
set_program_name (argv[0]);
grub_util_host_init (&argc, &argv);
/* Check for options. */
memset (&arguments, 0, sizeof (struct arguments));