diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-08-29 15:58:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-08-29 15:58:12 +0000 |
commit | 9160f30161fab3831ad9b769efe2bf720f2b74c2 (patch) | |
tree | 3d20cf457a6d14931039fb3c383ec4e817700d02 | |
parent | 89d4032cae3f1e525978bea5015434af677faa44 (diff) |
updated for version 7.0-071v7.0.071
-rw-r--r-- | src/search.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 97580c01f7..1c38060ee7 100644 --- a/src/search.c +++ b/src/search.c @@ -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. */ { diff --git a/src/version.c b/src/version.c index 9ed4bf3196..35c6c56300 100644 --- 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 */ /**/ + 71, +/**/ 70, /**/ 69, |