Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / prompter.c
index a75c563..5b2131c 100644 (file)
@@ -110,7 +110,7 @@ main(int argc, char **argv)
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif
-       invo_name = r1bindex(argv[0], '/');
+       invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */
        context_read();