summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-04-01 11:24:04 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-04-01 11:24:04 +0000
commit3266aa9ec285dbcf254daa17c103bf69dc755967 (patch)
tree265f69a3085b0d712d355580d768242734e5951a /editors
parent88b8f0a3475fc1f2e1b3cf58b63902551dae0169 (diff)
downloadbusybox-w32-3266aa9ec285dbcf254daa17c103bf69dc755967.tar.gz
busybox-w32-3266aa9ec285dbcf254daa17c103bf69dc755967.tar.bz2
busybox-w32-3266aa9ec285dbcf254daa17c103bf69dc755967.zip
trailing whitespace removal
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 7f5f2dcbc..0497bc251 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -1677,12 +1677,12 @@ static char *char_insert(char *p, char c) // insert the char c at 'p'
1677 q = prev_line(p); // use prev line as template 1677 q = prev_line(p); // use prev line as template
1678 len = strspn(q, " \t"); // space or tab 1678 len = strspn(q, " \t"); // space or tab
1679 if (len) { 1679 if (len) {
1680 uintptr_t bias; 1680 uintptr_t bias;
1681 bias = text_hole_make(p, len); 1681 bias = text_hole_make(p, len);
1682 p += bias; 1682 p += bias;
1683 q += bias; 1683 q += bias;
1684 memcpy(p, q, len); 1684 memcpy(p, q, len);
1685 p += len; 1685 p += len;
1686 } 1686 }
1687 } 1687 }
1688#endif 1688#endif