From 49a128a1565520069737ae9602155d8627d7c84c Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 17 Jul 2007 21:42:59 +0000 Subject: remove accumulated stray trailing whitespace --- editors/vi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/vi.c') diff --git a/editors/vi.c b/editors/vi.c index fda29acfb..fcd139310 100644 --- a/editors/vi.c +++ b/editors/vi.c @@ -426,7 +426,7 @@ static void edit_file(char * fn) if (fn != 0) { ch = file_insert(fn, text); update_ro_status(fn); - } + } if (ch < 1) { char_insert(text, '\n'); // start empty buf with dummy line } @@ -2404,7 +2404,7 @@ static int file_size(const char * fn) // what is the byte size of "fn" return cnt; } -static int file_insert(char * fn, char * p) +static int file_insert(char *fn, char *p) { int cnt = -1; int fd, size; -- cgit v1.2.3