diff --git a/mbsetup/ledit.c b/mbsetup/ledit.c index 666475d7..2f5b3413 100644 --- a/mbsetup/ledit.c +++ b/mbsetup/ledit.c @@ -1920,11 +1920,11 @@ void show_asktype(int y, int x, int val) -int edit_asktype(int y, int x, int val) +int edit_asktype(int y, int x, int val, char *help) { int ch; - showhelp((char *)"Toggle ^Question mode^ with spacebar, press whene done."); + showhelp(help); do { set_color(YELLOW, BLUE); show_asktype(y, x, val); diff --git a/mbsetup/ledit.h b/mbsetup/ledit.h index ea91c0d2..9cedb265 100644 --- a/mbsetup/ledit.h +++ b/mbsetup/ledit.h @@ -72,7 +72,7 @@ void show_magictype(int, int, int); int edit_magictype(int, int, int); char *get_asktype(int); void show_asktype(int, int, int); -int edit_asktype(int, int, int); +int edit_asktype(int, int, int, char *); char *get_sessiontype(int); void show_sessiontype(int, int, int); int edit_sessiontype(int, int, int); diff --git a/mbsetup/m_global.c b/mbsetup/m_global.c index 9bcfea87..2bff9e50 100644 --- a/mbsetup/m_global.c +++ b/mbsetup/m_global.c @@ -498,10 +498,10 @@ void e_newuser(void) case 13:E_BOOL(10,68, CFG.AskAddress, "Ask users ^home address^ in 3 lines") case 14:E_BOOL(11,68, CFG.GiveEmail, "Give new users an ^private email^ box") case 15:E_BOOL(12,68, CFG.AskScreenlen, "Ask new user to set the ^screen length^") - case 16:CFG.AskNewmail = - edit_asktype(13,68,CFG.AskNewmail, "Set ^new mail^ check at login, toggle wit space, Enter when done"); - case 17:CFG.AskNewfiles = - edit_asktype(13,68,CFG.AskNewfiles, "Set ^new files^ check at login, toggle wit space, Enter when done"); + case 16:CFG.AskNewmail = edit_asktype(13,68,CFG.AskNewmail, + (char *)"Set ^new mail^ check at login, toggle wit space, Enter when done"); + case 17:CFG.AskNewfiles = edit_asktype(13,68,CFG.AskNewfiles, + (char *)"Set ^new files^ check at login, toggle wit space, Enter when done"); } }; }