diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-17 21:42:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-17 21:42:59 +0000 |
commit | 49a128a1565520069737ae9602155d8627d7c84c (patch) | |
tree | b1d76d8d1976dbd0cf6e2ef9c61976aadd464ed1 /editors | |
parent | 150d2fa114d626761a67e529959433226793e733 (diff) | |
download | busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.gz busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.tar.bz2 busybox-w32-49a128a1565520069737ae9602155d8627d7c84c.zip |
remove accumulated stray trailing whitespace
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
426 | if (fn != 0) { | 426 | if (fn != 0) { |
427 | ch = file_insert(fn, text); | 427 | ch = file_insert(fn, text); |
428 | update_ro_status(fn); | 428 | update_ro_status(fn); |
429 | } | 429 | } |
430 | if (ch < 1) { | 430 | if (ch < 1) { |
431 | char_insert(text, '\n'); // start empty buf with dummy line | 431 | char_insert(text, '\n'); // start empty buf with dummy line |
432 | } | 432 | } |
@@ -2404,7 +2404,7 @@ static int file_size(const char * fn) // what is the byte size of "fn" | |||
2404 | return cnt; | 2404 | return cnt; |
2405 | } | 2405 | } |
2406 | 2406 | ||
2407 | static int file_insert(char * fn, char * p) | 2407 | static int file_insert(char *fn, char *p) |
2408 | { | 2408 | { |
2409 | int cnt = -1; | 2409 | int cnt = -1; |
2410 | int fd, size; | 2410 | int fd, size; |