X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fprompter.c;h=5b2131ce00fc3ab2587d32ec7394ae0937b6ba91;hp=a75c563313d5c2b954a62dc03053bdd08dad5eeb;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/prompter.c b/uip/prompter.c index a75c563..5b2131c 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -110,7 +110,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();