X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/20ce29e738d1a15764197559d256a85ef89d85d7..034abb1cc56e6b4d15282635ea46f276b97680d8:/uip/scan.c diff --git a/uip/scan.c b/uip/scan.c index 1f487cdd..20668691 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -52,13 +52,7 @@ main (int argc, char **argv) struct msgs *mp; FILE *in; -#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);