X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fdist.c;h=5ff0d6cf90ccb8af90446d1237e15f15fc883adc;hp=89315c2cbbd8abe5a41fca824bf86136d9355ad2;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/dist.c b/uip/dist.c index 89315c2..5ff0d6c 100644 --- a/uip/dist.c +++ b/uip/dist.c @@ -53,7 +53,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();