aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-03-24 18:35:39 +0100
committerMattias Andrée <maandree@operamail.com>2015-03-24 18:35:39 +0100
commit62662e486d5db560ca51b0bbf98bf6216771bcb6 (patch)
tree67b657a9932c5b58681ff174e884e5ebb148ef66 /src/passphrase.c
parentm (diff)
downloadlibpassphrase-62662e486d5db560ca51b0bbf98bf6216771bcb6.tar.gz
libpassphrase-62662e486d5db560ca51b0bbf98bf6216771bcb6.tar.bz2
libpassphrase-62662e486d5db560ca51b0bbf98bf6216771bcb6.tar.xz
fix PASSPHRASE_TEXT
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/passphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passphrase.c b/src/passphrase.c
index 19e3f32..3694024 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -182,9 +182,9 @@ char* passphrase_read(void)
{
if (len == 0)
continue;
+ erase_prev();
print_erase();
xflush();
- erase_prev();
# ifdef DEBUG
goto debug;
# else /* DEBUG */