Mercurial > vim
diff src/normal.c @ 944:b2dcb8457067 v7.0.070
updated for version 7.0-070
author | vimboss |
---|---|
date | Tue, 29 Aug 2006 15:30:07 +0000 |
parents | 77f8a648d2e6 |
children | 2787b8483e64 |
line wrap: on
line diff
--- a/src/normal.c +++ b/src/normal.c @@ -4127,7 +4127,7 @@ find_decl(ptr, len, locally, thisblock, int save_p_ws; int save_p_scs; int retval = OK; - int incl; + int incll; if ((pat = alloc(len + 7)) == NULL) return FAIL; @@ -4147,7 +4147,7 @@ find_decl(ptr, len, locally, thisblock, * With "gd" Search back for the start of the current function, then go * back until a blank line. If this fails go to line 1. */ - if (!locally || !findpar(&incl, BACKWARD, 1L, '{', FALSE)) + if (!locally || !findpar(&incll, BACKWARD, 1L, '{', FALSE)) { setpcmark(); /* Set in findpar() otherwise */ curwin->w_cursor.lnum = 1;