X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshow.c;h=ba5c037e18ab8403a230b73733fd5af17c6ec1e2;hp=ea66f32a8a3a4048cc9382d057bc9e856d99c0af;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/mhshow.c b/uip/mhshow.c index ea66f32..ba5c037 100644 --- a/uip/mhshow.c +++ b/uip/mhshow.c @@ -147,7 +147,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();