Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / slocal.c
index 2e7c257..8b8d554 100644 (file)
@@ -214,7 +214,7 @@ main(int argc, char **argv)
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif
-       invo_name = r1bindex(*argv, '/');
+       invo_name = mhbasename(*argv);
 
        /* foil search of user profile/context */
        if (context_foil(NULL) == -1)