diff options
Diffstat (limited to 'editors/vi.c')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c index 5bce4272f..a103776d2 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -447,7 +447,7 @@ static void edit_file(char * fn) | |||
447 | q = p; | 447 | q = p; |
448 | p = strchr(q,'\n'); | 448 | p = strchr(q,'\n'); |
449 | if (p) | 449 | if (p) |
450 | while(*p == '\n') | 450 | while (*p == '\n') |
451 | *p++ = '\0'; | 451 | *p++ = '\0'; |
452 | if (*q) | 452 | if (*q) |
453 | colon(q); | 453 | colon(q); |