X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fmhtest.c;h=17ca1ab78b5e330e4dcfb1c71d6254ed22fe632b;hb=64d621d6806432dabe5bd62282f17027bb08d418;hp=621c701dabf3c50eda1222ae8ea7402002deb98d;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh 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();