summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
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 7f5f2dc..0497bc2 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'
q = prev_line(p); // use prev line as template
len = strspn(q, " \t"); // space or tab
if (len) {
- uintptr_t bias;
+ uintptr_t bias;
bias = text_hole_make(p, len);
p += bias;
q += bias;
memcpy(p, q, len);
- p += len;
+ p += len;
}
}
#endif