Mirror of the Vim source from https://github.com/vim/vim
Revision | 76c2b2dd25c9c6945489a1c636f7e375ef1f40d0 (tree) |
---|---|
Time | 2007-07-24 16:51:18 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-033
@@ -10624,6 +10624,9 @@ | ||
10624 | 10624 | file_ff_differs(buf) |
10625 | 10625 | buf_T *buf; |
10626 | 10626 | { |
10627 | + /* In a buffer that was never loaded the options are not valid. */ | |
10628 | + if (buf->b_flags & BF_NEVERLOADED) | |
10629 | + return FALSE; | |
10627 | 10630 | if ((buf->b_flags & BF_NEW) |
10628 | 10631 | && buf->b_ml.ml_line_count == 1 |
10629 | 10632 | && *ml_get_buf(buf, (linenr_T)1, FALSE) == NUL) |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 33, | |
671 | +/**/ | |
670 | 672 | 32, |
671 | 673 | /**/ |
672 | 674 | 31, |