From e120b9d5cc7ca9001d319c2766150165c4e82db5 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 28 May 2001 14:32:17 +0000 Subject: use Axalon patch to hide passwords (highly rewritten..) --- mdk-stage1/newt-frontend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdk-stage1/newt-frontend.c b/mdk-stage1/newt-frontend.c index 95bf9847f..44d012018 100644 --- a/mdk-stage1/newt-frontend.c +++ b/mdk-stage1/newt-frontend.c @@ -357,7 +357,7 @@ enum return_type ask_from_entries(char *msg, char ** questions, char *** answers while (questions && *questions) { entries[i].text = *questions; - entries[i].flags = NEWT_FLAG_SCROLL; + entries[i].flags = NEWT_FLAG_SCROLL | (!strcmp(*questions, "Password") ? NEWT_FLAG_HIDDEN : 0); i++; questions++; } -- cgit v1.2.1