X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhtest.c;h=17ca1ab78b5e330e4dcfb1c71d6254ed22fe632b;hp=621c701dabf3c50eda1222ae8ea7402002deb98d;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/mhtest.c b/uip/mhtest.c index 621c701..17ca1ab 100644 --- a/uip/mhtest.c +++ b/uip/mhtest.c @@ -127,7 +127,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();