Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / dp.c
index 878e2c1..a5accf5 100644 (file)
--- a/uip/dp.c
+++ b/uip/dp.c
@@ -57,7 +57,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();