X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/71458b3b2492943349f7693a46792756d5013c69..6bc64765f:/uip/fmttest.c diff --git a/uip/fmttest.c b/uip/fmttest.c index a3a436f4..2f45e7b5 100644 --- a/uip/fmttest.c +++ b/uip/fmttest.c @@ -121,11 +121,7 @@ main (int argc, char **argv) int dat[5]; struct fmt_callbacks cb, *cbp = NULL; - setlocale(LC_ALL, ""); - 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;