diff src/normal.c @ 718:7b21554be7a1

updated for version 7.0219
author vimboss
date Thu, 09 Mar 2006 22:27:48 +0000
parents 0f9f4761ad9c
children 59971e227f8c
line wrap: on
line diff
--- a/src/normal.c
+++ b/src/normal.c
@@ -4155,7 +4155,7 @@ find_decl(ptr, len, locally, thisblock, 
 	if (curwin->w_cursor.lnum >= old_pos.lnum)
 	    t = FAIL;	/* match after start is failure too */
 
-	if (thisblock)
+	if (thisblock && t != FAIL)
 	{
 	    pos_T	*pos;