X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fwhatnow.c;h=bbb468dafb768bc16a206519265174e23da3b6fb;hb=ccf4f175ef4c4e7522f9510a4a1149c15d810dd9;hp=e3a411adfd95d2d967142a0f9e5d2db888c2510d;hpb=30292c537fe4eab052f303f1d3179c0e2fd037d8;p=mmh diff --git a/uip/whatnow.c b/uip/whatnow.c index e3a411a..bbb468d 100644 --- a/uip/whatnow.c +++ b/uip/whatnow.c @@ -46,7 +46,7 @@ static struct swit whatnowswitches[] = { #define EDITRSW 0 { "editor editor", 0 }, #define PRMPTSW 1 - { "prompt string", 4 }, + { "prompt string", 0 }, #define VERSIONSW 2 { "Version", 0 }, #define HELPSW 3 @@ -117,10 +117,7 @@ main(int argc, char **argv) FILE *f; /* read pointer for bgnd proc */ int n; /* set on -n to detach command */ -#ifdef LOCALE setlocale(LC_ALL, ""); -#endif - invo_name = mhbasename(argv[0]); /* read user profile/context */