X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fscan.c;h=b42d8a2671f3454a0d82254a2ecb4d0fe5a52512;hp=03a260bdb8a35ec330dc9184807e213a9a147675;hb=240013872c392fe644bd4f79382d9f5314b4ea60;hpb=c20b4fa14515c7ab388ce35411d89a7a92300711 diff --git a/uip/scan.c b/uip/scan.c index 03a260b..b42d8a2 100644 --- a/uip/scan.c +++ b/uip/scan.c @@ -73,7 +73,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();