summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-05-13 23:07:09 +0200
committerOliver Kiddle <opk@zsh.org>2015-05-13 23:07:09 +0200
commit08fb0f6602d928414f49c316ca1ace5b8f36070a (patch)
treec664d8a9c8efda83790329136c29d02bb78bdecb
parentd257f0143e69c3724466c4c92f59538d2f3fffd1 (diff)
downloadzsh-08fb0f6602d928414f49c316ca1ace5b8f36070a.tar.gz
zsh-08fb0f6602d928414f49c316ca1ace5b8f36070a.tar.xz
zsh-08fb0f6602d928414f49c316ca1ace5b8f36070a.zip
35092: fix for numeric arguments from vi operator pending mode
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/zle_params.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c06959ea..5de510efb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-05-13  Oliver Kiddle  <opk@zsh.org>
 
+	* 35092: Src/Zle/zle_params.c: fix for numeric arguments
+	from vi operator pending mode
+
 	* 35093: NEWS, Functions/Zle/select-bracketed,
 	Functions/Zle/select-quoted, Functions/Zle/surround:
 	new zle widgets for Vim-style text objects
diff --git a/Src/Zle/zle_params.c b/Src/Zle/zle_params.c
index dc5fed4ce..ce4b0724d 100644
--- a/Src/Zle/zle_params.c
+++ b/Src/Zle/zle_params.c
@@ -173,7 +173,7 @@ makezleparams(int ro)
 		pm->base = 10;
 		break;
 	}
-	if ((zp->type & PM_UNSET) && (zmod.flags & MOD_MULT))
+	if ((zp->type & PM_UNSET) && (zmod.flags & (MOD_MULT|MOD_TMULT)))
 	    pm->node.flags &= ~PM_UNSET;
     }
 }