X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/64e8827c5d5def0325ab7181fe939623c77e807c..236a2b64249d7ffe0c4eaea2ef89b86f759ceda6:/uip/show.c?ds=sidebyside diff --git a/uip/show.c b/uip/show.c index 14d41911..acd08afb 100644 --- a/uip/show.c +++ b/uip/show.c @@ -61,11 +61,7 @@ main (int argc, char **argv) struct msgs_array msgs = { 0, 0, NULL }; struct msgs_array vec = { 0, 0, NULL }; - setlocale(LC_ALL, ""); - invo_name = r1bindex (argv[0], '/'); - - /* read user profile/context */ - context_read(); + if (nmh_init(argv[0], 1)) { return 1; } if (!strcasecmp (invo_name, "next")) { mode = NEXT;