X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/397deef44d1f8d92b781e7d9af6f0f256eccbe73..236a2b64249d7ffe0c4eaea2ef89b86f759ceda6:/uip/show.c?ds=sidebyside diff --git a/uip/show.c b/uip/show.c index 5a912f6b..acd08afb 100644 --- a/uip/show.c +++ b/uip/show.c @@ -61,13 +61,7 @@ main (int argc, char **argv) struct msgs_array msgs = { 0, 0, NULL }; struct msgs_array vec = { 0, 0, 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; } if (!strcasecmp (invo_name, "next")) { mode = NEXT;