X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Frepl.c;h=61ba08cfe50a71954c74f3091dc452dafc25531d;hp=6893f56986879f7eb60d1167a15bb013e6f7febe;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/repl.c b/uip/repl.c index 6893f56..61ba08c 100644 --- a/uip/repl.c +++ b/uip/repl.c @@ -121,7 +121,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();