0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

updated for version 7.0200

This commit is contained in:
Bram Moolenaar
2006-02-17 21:45:41 +00:00
parent f740b29ae2
commit 49d7bf13e0
6 changed files with 356 additions and 214 deletions

View File

@@ -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