Mercurial > vim
diff src/normal.c @ 539:b13dbb7b797c
updated for version 7.0153
author | vimboss |
---|---|
date | Mon, 03 Oct 2005 21:52:09 +0000 |
parents | c6296b0ad9ea |
children | 862863033fdd |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -3984,14 +3984,15 @@ find_decl(ptr, len, locally, thisblock, { setpcmark(); /* Set in findpar() otherwise */ curwin->w_cursor.lnum = 1; + par_pos = curwin->w_cursor; } else { + par_pos = curwin->w_cursor; while (curwin->w_cursor.lnum > 1 && *skipwhite(ml_get_curline()) != NUL) --curwin->w_cursor.lnum; } curwin->w_cursor.col = 0; - par_pos = curwin->w_cursor; /* Search forward for the identifier, ignore comment lines. */ found_pos.lnum = 0;