X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/6b4bc4a25eaac2eddd1bef51e3f00c21f98ed32d..ea855e72d026c72658d43f993fc62cfcf2de2ca3:/uip/folder.c?ds=sidebyside diff --git a/uip/folder.c b/uip/folder.c index 29ef616a..98ecde68 100644 --- a/uip/folder.c +++ b/uip/folder.c @@ -12,7 +12,6 @@ #include #include #include -#include #define FOLDER_SWITCHES \ X("all", 0, ALLSW) \ @@ -102,13 +101,7 @@ main (int argc, char **argv) char *cp, *dp, *msg = NULL, *argfolder = NULL; char **ap, **argp, buf[BUFSIZ], **arguments; -#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 program was invoked with name ending