summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-05-28 14:32:17 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-05-28 14:32:17 +0000
commite120b9d5cc7ca9001d319c2766150165c4e82db5 (patch)
tree472fa771261a8182374b133d6182970bebb5f99d
parentef7434ff16548d8a35f7348fa6fb67b819586742 (diff)
downloaddrakx-e120b9d5cc7ca9001d319c2766150165c4e82db5.tar
drakx-e120b9d5cc7ca9001d319c2766150165c4e82db5.tar.gz
drakx-e120b9d5cc7ca9001d319c2766150165c4e82db5.tar.bz2
drakx-e120b9d5cc7ca9001d319c2766150165c4e82db5.tar.xz
drakx-e120b9d5cc7ca9001d319c2766150165c4e82db5.zip
use Axalon patch to hide passwords (highly rewritten..)
-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++;
}