Mercurial > vim
changeset 1309:bb7a0b90100a v7.1.023
updated for version 7.1-023
author | vimboss |
---|---|
date | Tue, 10 Jul 2007 10:38:02 +0000 |
parents | e70c0d863e0c |
children | a33e606ceea6 |
files | src/search.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c +++ b/src/search.c @@ -2795,7 +2795,7 @@ fwd_word(count, bigword, eol) i = inc_cursor(); if (i == -1 || (i >= 1 && last_line)) /* started at last char in file */ return FAIL; - if (i == 1 && eol && count == 0) /* started at last char in line */ + if (i >= 1 && eol && count == 0) /* started at last char in line */ return OK; /*