summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_utils.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-11-17 16:32:04 +0100
committerOliver Kiddle <opk@zsh.org>2014-11-17 16:32:04 +0100
commit0ea8f28e7b230315fe3fcca162a15258b618b0b2 (patch)
tree432e41d8dce921ae523a226be72565e68ae5b5e5 /Src/Zle/zle_utils.c
parentc95c2ac838e04e507f8e4d9bd0ed4d966306a9b9 (diff)
downloadzsh-0ea8f28e7b230315fe3fcca162a15258b618b0b2.tar.gz
zsh-0ea8f28e7b230315fe3fcca162a15258b618b0b2.zip
33700: new widget for put in vim style visual selection mode
Diffstat (limited to 'Src/Zle/zle_utils.c')
-rw-r--r--Src/Zle/zle_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c
index f56063e82..08a32c30e 100644
--- a/Src/Zle/zle_utils.c
+++ b/Src/Zle/zle_utils.c
@@ -953,7 +953,7 @@ cuttext(ZLE_STRING_T line, int ct, int flags)
} else {
/* Save in "1, shifting "1-"8 along to "2-"9 */
int n;
- free(vibuf[34].buf);
+ free(vibuf[35].buf);
for(n=35; n>27; n--)
vibuf[n] = vibuf[n-1];
vibuf[27].buf = (ZLE_STRING_T)zalloc(ct * ZLE_CHAR_SIZE);