# HG changeset patch # User vimboss # Date 1156867092 0 # Node ID 0b211ebefd4e6ee52ae81a75938b4ee61ca15770 # Parent b2dcb84570675cbdb4fea2d017bcd093b3f34be3 updated for version 7.0-071 diff --git a/src/search.c b/src/search.c --- 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 --- 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,