X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b24a1b1ac51ca3bbacc82700dd1388b7dae2633d..a514b8a78c447c8abc69386bee9f2c463b1c9362:/uip/ali.c?ds=sidebyside diff --git a/uip/ali.c b/uip/ali.c index dda0a2c1..e7c865be 100644 --- a/uip/ali.c +++ b/uip/ali.c @@ -53,13 +53,7 @@ main (int argc, char **argv) char **vec = mh_xmalloc (argc * sizeof (char *)), **arguments; struct aka *ak; -#ifdef LOCALE - setlocale(LC_ALL, ""); -#endif - invo_name = r1bindex (argv[0], '/'); - - /* read user profile/context */ - context_read(); + if (nmh_init(argv[0], 1)) { return 1; } mts_init (invo_name); arguments = getarguments (invo_name, argc, argv, 1);