From e5a47f53c16390be8b1c99846cc0dc48b5bc14ef Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 4 Dec 2015 23:24:07 +0100 Subject: do not require gcc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/passphrase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/passphrase.c') 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(); -- cgit v1.2.3-70-g09d2