X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9cf9f118998a7635485e13863d1bc16c1486bb05..8374c3c:/uip/flist.c?ds=sidebyside diff --git a/uip/flist.c b/uip/flist.c index cea1ca7c..4a38938c 100644 --- a/uip/flist.c +++ b/uip/flist.c @@ -115,11 +115,7 @@ main(int argc, char **argv) char **arguments; char buf[BUFSIZ]; - setlocale(LC_ALL, ""); - invo_name = r1bindex(argv[0], '/'); - - /* read user profile/context */ - context_read(); + if (nmh_init(argv[0], 1)) { return 1; } /* * If program was invoked with name ending @@ -672,7 +668,7 @@ do_readonly_folders (void) { int atrlen; char atrcur[BUFSIZ]; - register struct node *np; + struct node *np; snprintf (atrcur, sizeof(atrcur), "atr-%s-", current); atrlen = strlen (atrcur);