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 1a3997a6b..6a6722875 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -2335,7 +2335,7 @@ static int file_insert(const char *fn, char *p, int update_ro_status) | |||
2335 | } else if (cnt < size) { | 2335 | } else if (cnt < size) { |
2336 | // There was a partial read, shrink unused space text[] | 2336 | // There was a partial read, shrink unused space text[] |
2337 | p = text_hole_delete(p + cnt, p + (size - cnt) - 1); // un-do buffer insert | 2337 | p = text_hole_delete(p + cnt, p + (size - cnt) - 1); // un-do buffer insert |
2338 | status_line_bold("cannot read all of file \"%s\"", fn); | 2338 | status_line_bold("can't read all of file \"%s\"", fn); |
2339 | } | 2339 | } |
2340 | if (cnt >= size) | 2340 | if (cnt >= size) |
2341 | file_modified++; | 2341 | file_modified++; |