summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdk-stage1/newt-frontend.c2
1 files changed, 1 insertions, 1 deletions
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++;
}