Mercurial > vim
diff src/eval.c @ 700:c78d973dce9e v7.0211
updated for version 7.0211
author | vimboss |
---|---|
date | Wed, 01 Mar 2006 22:12:31 +0000 |
parents | f08390485cd3 |
children | 69e8006af734 |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -13412,8 +13412,8 @@ do_searchpair(spat, mpat, epat, dir, ski save_cursor = curwin->w_cursor; pos = curwin->w_cursor; - firstpos.lnum = 0; - foundpos.lnum = 0; + clearpos(&firstpos); + clearpos(&foundpos); pat = pat3; for (;;) { @@ -15582,9 +15582,9 @@ var2fpos(varp, lnum) typval_T *varp; int lnum; /* TRUE when $ is last line */ { - char_u *name; + char_u *name; static pos_T pos; - pos_T *pp; + pos_T *pp; /* Argument can be [lnum, col]. */ if (varp->v_type == VAR_LIST)