about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-01 20:33:23 +0100
committerJames Booth <boothj5@gmail.com>2015-09-01 20:33:23 +0100
commit7dc1b9d42854af67f1284da9e3d8015c4c15f5fa (patch)
tree395454ab931a5c1ec2983c14f8ddeff5e4544558 /src
parent1f4fd0fcb3ee7e38bfab2ca8613683a0186738d4 (diff)
downloadprofani-tty-7dc1b9d42854af67f1284da9e3d8015c4c15f5fa.tar.gz
Fixed passing from arg in PGP ask passphrase
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c6
1 files changed, 3 insertions, 3 deletions
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();