X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fpick.c;h=93a240068b4044069aee161b1ad1f608e35b1f16;hp=040ebecdc2bd31c87dacb897989c0c861de6f65a;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/pick.c b/uip/pick.c index 040ebec..93a2400 100644 --- a/uip/pick.c +++ b/uip/pick.c @@ -84,7 +84,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();