X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/2c8434f970fbb85fbf32da674a29b7f0d292ef16..a12d28cdfd69f447a8cf5815ce5a84284788b86e:/uip/comp.c?ds=sidebyside diff --git a/uip/comp.c b/uip/comp.c index 08507299..02feefaa 100644 --- a/uip/comp.c +++ b/uip/comp.c @@ -83,13 +83,7 @@ main (int argc, char **argv) struct format *fmt; struct stat st; -#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; } arguments = getarguments (invo_name, argc, argv, 1); argp = arguments;