1
0
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Fixed passing from arg in PGP ask passphrase

This commit is contained in:
James Booth 2015-09-01 20:33:23 +01:00
parent 1f4fd0fcb3
commit 7dc1b9d428

View File

@ -2112,13 +2112,13 @@ ui_ask_pgp_passphrase(const char *hint, int prev_fail)
ProfWin *current = wins_get_current();
if (prev_fail) {
win_print(current, '!', 0, NULL, 0, 0, NULL, "Incorrect passphrase");
win_print(current, '!', 0, NULL, 0, 0, "", "Incorrect passphrase");
}
if (hint) {
win_vprint(current, '!', 0, NULL, 0, 0, NULL, "Enter PGP key passphrase for %s", hint);
win_vprint(current, '!', 0, NULL, 0, 0, "", "Enter PGP key passphrase for %s", hint);
} else {
win_print(current, '!', 0, NULL, 0, 0, NULL, "Enter PGP key passphrase");
win_print(current, '!', 0, NULL, 0, 0, "", "Enter PGP key passphrase");
}
status_bar_get_password();