]> diplodocus.org Git - nmh/blobdiff - uip/flist.c
Save this for now.
[nmh] / uip / flist.c
index fe3dceb..829500d 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