X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhlist.c;h=f33e39b0470fc844acca676af60e8f1fc204c61c;hp=9ec8f5d9983f8a5dbb8d20dc91632e7dac6924c9;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/mhlist.c b/uip/mhlist.c index 9ec8f5d..f33e39b 100644 --- a/uip/mhlist.c +++ b/uip/mhlist.c @@ -131,7 +131,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();