diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-17 21:45:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-17 21:45:41 +0000 |
commit | 49d7bf13e0d7e656ac246ec1dd7309560b070289 (patch) | |
tree | a91825bbdbacc6ddfb1d16cf78584526f1475df1 /src/fileio.c | |
parent | f740b29ae2a346e44c34001b3bf8ecfa0c7857bd (diff) |
updated for version 7.0200
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c index aeb5dc9a22..437a4b670d 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2166,8 +2166,8 @@ failed: #ifdef FEAT_DIFF /* After reading the text into the buffer the diff info needs to be * updated. */ - if ((newfile || read_buffer)) - diff_invalidate(); + if (newfile || read_buffer) + diff_invalidate(curbuf); #endif #ifndef ALWAYS_USE_GUI /* @@ -5524,6 +5524,7 @@ shorten_fnames(force) } #ifdef FEAT_WINDOWS status_redraw_all(); + redraw_tabline = TRUE; #endif } @@ -6497,7 +6498,7 @@ buf_reload(buf, orig_mode) #ifdef FEAT_DIFF /* Invalidate diff info if necessary. */ - diff_invalidate(); + diff_invalidate(buf); #endif /* Restore the topline and cursor position and check it (lines may |