changeset 1310:a33e606ceea6 v7.1.024

updated for version 7.1-024
author vimboss
date Tue, 10 Jul 2007 11:09:36 +0000
parents bb7a0b90100a
children b686fb4898d1
files src/search.c src/version.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -2124,6 +2124,9 @@ findmatchlimit(oap, initc, flags, maxtra
 			else if (!backwards)
 			    inquote = TRUE;
 		    }
+
+		    /* ml_get() only keeps one line, need to get linep again */
+		    linep = ml_get(pos.lnum);
 		}
 	    }
 	}
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    24,
+/**/
     23,
 /**/
     22,