X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/756c7e975f30450280d7a7dc144658c163a19a96..cdbb097c8f061dfea2e92f0beafc64fdf50a4eb7:/uip/mhlist.c diff --git a/uip/mhlist.c b/uip/mhlist.c index 9cdcdf6b..f37041c3 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -104,15 +104,9 @@ main (int argc, char **argv) struct msgs *mp = NULL; CT ct, *ctp; - done=freects_done; - -#ifdef LOCALE - setlocale(LC_ALL, ""); -#endif - invo_name = r1bindex (argv[0], '/'); + if (nmh_init(argv[0], 1)) { return 1; } - /* read user profile/context */ - context_read(); + done=freects_done; arguments = getarguments (invo_name, argc, argv, 1); argp = arguments;