Mirror of the Vim source from https://github.com/vim/vim
Revision | 8a6c67218fccfc536fdf829075e99549fb8247dd (tree) |
---|---|
Time | 2007-12-10 03:26:22 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-173
@@ -3810,11 +3810,11 @@ | ||
3810 | 3810 | break; |
3811 | 3811 | |
3812 | 3812 | case RE_BOF: |
3813 | - /* Passing -1 to the getline() function provided for the search | |
3814 | - * should always return NULL if the current line is the first | |
3815 | - * line of the file. */ | |
3813 | + /* We're not at the beginning of the file when below the first | |
3814 | + * line where we started, not at the start of the line or we | |
3815 | + * didn't start at the first line of the buffer. */ | |
3816 | 3816 | if (reglnum != 0 || reginput != regline |
3817 | - || (REG_MULTI && reg_getline((linenr_T)-1) != NULL)) | |
3817 | + || (REG_MULTI && reg_firstlnum > 1)) | |
3818 | 3818 | status = RA_NOMATCH; |
3819 | 3819 | break; |
3820 | 3820 |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 173, | |
671 | +/**/ | |
670 | 672 | 172, |
671 | 673 | /**/ |
672 | 674 | 171, |