Mercurial > vim
diff src/fileio.c @ 672:db58b9066b21
updated for version 7.0200
author | vimboss |
---|---|
date | Fri, 17 Feb 2006 21:45:41 +0000 |
parents | e93a99ef31d0 |
children | 4b8583e82cb8 |
line wrap: on
line diff
--- 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