From 7dc1b9d42854af67f1284da9e3d8015c4c15f5fa Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 1 Sep 2015 20:33:23 +0100 Subject: Fixed passing from arg in PGP ask passphrase --- src/ui/core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/ui/core.c b/src/ui/core.c index da18ddbf..91c0f342 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -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(); -- cgit 1.4.1-2-gfad0