]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
updated for version 7.0-071 v7.0.071
authorBram Moolenaar <Bram@vim.org>
Tue, 29 Aug 2006 15:58:12 +0000 (15:58 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 29 Aug 2006 15:58:12 +0000 (15:58 +0000)
src/search.c
src/version.c

index 97580c01f704af6c1a367348748af8053c38e6b6..1c38060ee747d8b90b43068d7e8f1bd9b4c78653 100644 (file)
@@ -1259,7 +1259,7 @@ do_search(oap, dirc, pat, count, options)
        /*
         * Add character and/or line offset
         */
-       if (!(options & SEARCH_NOOF) || *pat == ';')
+       if (!(options & SEARCH_NOOF) || (pat != NULL && *pat == ';'))
        {
            if (spats[0].off.line)      /* Add the offset to the line number. */
            {
index 9ed4bf3196ae10ffc08fc2aaadb63e8f196c7640..35c6c563005fc467fc11c24605c3743edacb23e3 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    71,
 /**/
     70,
 /**/