summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/zle_tricky.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 501c64b6e..446bff14b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-06-19  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted: Src/Zle/zle_refresh.c: remove additional loop
+	noticed by Mikael.
+
 	* 29491: Src/glob.c, Src/lex.c, Src/math.c, Src/params.c,
 	Src/parse.c, Src/utils.c, Src/Modules/db_gdbm.c,
 	Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/zle_refresh.c,
@@ -15016,5 +15019,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5374 $
+* $Revision: 1.5375 $
 *****************************************************
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c
index 80a495317..3b3796dd2 100644
--- a/Src/Zle/zle_tricky.c
+++ b/Src/Zle/zle_tricky.c
@@ -541,8 +541,6 @@ parambeg(char *s)
 	    /* Ignore the possible (...) flags. */
 	    b++, br++;
 	    n = skipparens(Inpar, Outpar, &b);
-
-	    for (tb = p - 1; tb > s && *tb != Outbrace && *tb != Inbrace; tb--);
 	}
 
 	/* Ignore the stuff before the parameter name. */