diff options
Diffstat (limited to 'src/gui/curses/gui-curses-main.c')
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index 5377d88eb..45563b054 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -84,10 +84,10 @@ gui_main_get_password (const char *prompt1, const char *prompt2, clear(); - mvprintw (0, 0, "%s", prompt1); - mvprintw (1, 0, "%s", prompt2); - mvprintw (2, 0, "%s", prompt3); - mvprintw (3, 0, "=> "); + mvaddstr (0, 0, prompt1); + mvaddstr (1, 0, prompt2); + mvaddstr (2, 0, prompt3); + mvaddstr (3, 0, "=> "); refresh (); memset (password, '\0', size); @@ -103,14 +103,14 @@ gui_main_get_password (const char *prompt1, const char *prompt2, { i--; password[i] = '\0'; - mvprintw (3, 3 + i, " "); + mvaddstr (3, 3 + i, " "); move (3, 3 + i); } } else { password[i] = ch; - mvprintw (3, 3 + i, "*"); + mvaddstr (3, 3 + i, "*"); i++; } refresh (); |