aboutsummaryrefslogtreecommitdiffstats
path: root/src/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/passphrase.c')
-rw-r--r--src/passphrase.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/passphrase.c b/src/passphrase.c
index 9e5a7e8..b44542f 100644
--- a/src/passphrase.c
+++ b/src/passphrase.c
@@ -169,9 +169,9 @@ char* passphrase_read(void)
else if (cc == KEY_INSERT) insert ^= 1;
# endif /* PASSPHRASE_INSERT && PASSPHRASE_OVERRIDE */
# ifdef PASSPHRASE_DELETE
- else if ((cc == KEY_DELETE) && (len != point)) delete_next(), print_delete();
+ else if ((cc == KEY_DELETE) && (len != point)) { delete_next(); print_delete(); }
# endif /* PASSPHRASE_DELETE */
- else if ((cc == KEY_ERASE) && point) erase_prev(), print_erase();
+ else if ((cc == KEY_ERASE) && point) { erase_prev(); print_erase(); }
else if ((cc == KEY_HOME) && (point != 0)) move_home();
else if ((cc == KEY_END) && (point != len)) move_end();
else if ((cc == KEY_RIGHT) && (point != len)) move_right();