X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b83f328aa3deb6a1ee889e54dcec6981d2ac3498..ea855e72d026c72658d43f993fc62cfcf2de2ca3:/uip/fmttest.c diff --git a/uip/fmttest.c b/uip/fmttest.c index b39d0d52..2f45e7b5 100644 --- a/uip/fmttest.c +++ b/uip/fmttest.c @@ -121,13 +121,7 @@ main (int argc, char **argv) int dat[5]; struct fmt_callbacks cb, *cbp = NULL; -#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;