Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / scan.c
index 03a260b..b42d8a2 100644 (file)
@@ -73,7 +73,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();