]> git.marmaro.de Git - mmh/blobdiff - uip/sortm.c
Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / sortm.c
index a5d0e118cb164fb8fac30aa06ea75f5a74294c03..ffe14f864b207a4109aef09e137a06ec2f5f0305 100644 (file)
@@ -78,7 +78,7 @@ main(int argc, char **argv)
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif
-       invo_name = r1bindex(argv[0], '/');
+       invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */
        context_read();
 
        /* read user profile/context */
        context_read();