X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=5b2131ce00fc3ab2587d32ec7394ae0937b6ba91;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hp=a75c563313d5c2b954a62dc03053bdd08dad5eeb;hpb=714b5c530ece27ea2835a313013f5b770163403c;p=mmh 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();