summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko2007-07-17 21:42:59 +0000
committerDenis Vlasenko2007-07-17 21:42:59 +0000
commit49a128a1565520069737ae9602155d8627d7c84c (patch)
treeb1d76d8d1976dbd0cf6e2ef9c61976aadd464ed1 /editors
parent150d2fa114d626761a67e529959433226793e733 (diff)
downloadbusybox-49a128a1565520069737ae9602155d8627d7c84c.zip
busybox-49a128a1565520069737ae9602155d8627d7c84c.tar.gz
remove accumulated stray trailing whitespace
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index fda29ac..fcd1393 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;