X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fslocal.c;h=8b8d554cfb2ee0be7947d757eef6c28a058f9f6c;hp=2e7c257c7b7979c6c4af6eee4f8f4287777cace3;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/slocal.c b/uip/slocal.c index 2e7c257..8b8d554 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -214,7 +214,7 @@ main(int argc, char **argv) #ifdef LOCALE setlocale(LC_ALL, ""); #endif - invo_name = r1bindex(*argv, '/'); + invo_name = mhbasename(*argv); /* foil search of user profile/context */ if (context_foil(NULL) == -1)