summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-11 14:41:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-11 14:41:26 +0000
commit90ea8befbeac71a65202fe28dc16350c90d310c7 (patch)
tree6c1d791e875f138592a7038d8f221f4276d3dffe
parentb3a2e537105c4d153d2f4ca32fd1e28589c2079c (diff)
downloaddrakx-90ea8befbeac71a65202fe28dc16350c90d310c7.tar
drakx-90ea8befbeac71a65202fe28dc16350c90d310c7.tar.gz
drakx-90ea8befbeac71a65202fe28dc16350c90d310c7.tar.bz2
drakx-90ea8befbeac71a65202fe28dc16350c90d310c7.tar.xz
drakx-90ea8befbeac71a65202fe28dc16350c90d310c7.zip
axalon sucks, we can have NEWT_FLAG_PASSWORD that will show us '**' for passwords
-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 c9f498260..1d5c1e4d6 100644
--- a/mdk-stage1/newt-frontend.c
+++ b/mdk-stage1/newt-frontend.c
@@ -358,7 +358,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 | (!strcmp(*questions, "Password") ? NEWT_FLAG_HIDDEN : 0);
+ entries[i].flags = NEWT_FLAG_SCROLL | (!strcmp(*questions, "Password") ? NEWT_FLAG_PASSWORD : 0);
i++;
questions++;
}