1
0
forked from aniani/vim

updated for version 7.0-071

This commit is contained in:
Bram Moolenaar 2006-08-29 15:58:12 +00:00
parent 89d4032cae
commit 9160f30161
2 changed files with 3 additions and 1 deletions

View 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. */
{

View File

@ -666,6 +666,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
71,
/**/
70,
/**/