summaryrefslogtreecommitdiff
diff options
context:
space:
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;
}
}