X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/64e8827c5d5def0325ab7181fe939623c77e807c..7559e1ebf:/uip/sortm.c?ds=sidebyside diff --git a/uip/sortm.c b/uip/sortm.c index f6a66f16..3df18859 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -78,11 +78,7 @@ main (int argc, char **argv) struct smsg **dlist; int checksw = 0; - 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;