]> diplodocus.org Git - nmh/blobdiff - uip/flist.c
Added getmymbox function escape.
[nmh] / uip / flist.c
index fe3dcebde92c74cd0e7a13bf24b6ed8507cd6bde..829500d625c69f0fa60e3f5fc4c053f30adb982a 100644 (file)
@@ -115,13 +115,7 @@ main(int argc, char **argv)
     char **arguments;
     char buf[BUFSIZ];
 
-#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