X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0bfb53a23531bea3aaeadcd1a6f6c372eef96612..be6c3984:/uip/fmtdump.c?ds=sidebyside diff --git a/uip/fmtdump.c b/uip/fmtdump.c index 65358168..f1df6f35 100644 --- a/uip/fmtdump.c +++ b/uip/fmtdump.c @@ -51,13 +51,7 @@ main (int argc, char **argv) char buf[BUFSIZ], *nfs, **argp, **arguments; struct format *fmt; -#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;