1
0
forked from aniani/vim

updated for version 7.0d04

This commit is contained in:
Bram Moolenaar
2006-04-14 20:42:25 +00:00
parent 7fc904b610
commit 9e54a0e753
32 changed files with 676 additions and 4424 deletions

View File

@@ -1930,7 +1930,7 @@ findmatchlimit(oap, initc, flags, maxtravel)
break;
--pos.lnum;
if (maxtravel && traveled++ > maxtravel)
if (maxtravel > 0 && ++traveled > maxtravel)
break;
linep = ml_get(pos.lnum);