From 6b9f1633537e2ff06eb1a0741e4598a294f40fcb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 28 Jan 2010 02:24:24 +0100 Subject: *: style fixes. no code changes (verified with objdump) Signed-off-by: Denys Vlasenko --- editors/vi.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'editors') diff --git a/editors/vi.c b/editors/vi.c index 58c6f5a05..c4bca2a9c 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -1158,9 +1158,11 @@ static void colon(char *buf) file_modified = 0; last_file_modified = -1; } - if ((cmd[0] == 'x' || cmd[1] == 'q' || cmd[1] == 'n' || - cmd[0] == 'X' || cmd[1] == 'Q' || cmd[1] == 'N') - && l == ch) { + if ((cmd[0] == 'x' || cmd[1] == 'q' || cmd[1] == 'n' + || cmd[0] == 'X' || cmd[1] == 'Q' || cmd[1] == 'N' + ) + && l == ch + ) { editing = 0; } } -- cgit v1.2.3