diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 10:41:29 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-04 10:41:29 +0000 |
commit | d05db5e29f3798e398c11fc416b4c093b3ef8338 (patch) | |
tree | 4c9cecec4f93b850bf9b951811078ad29ca091c5 /Src/Zle | |
parent | dd0122e3af9a27ef94c13a8ff3427a15714e0836 (diff) | |
download | zsh-d05db5e29f3798e398c11fc416b4c093b3ef8338.tar.gz zsh-d05db5e29f3798e398c11fc416b4c093b3ef8338.tar.xz zsh-d05db5e29f3798e398c11fc416b4c093b3ef8338.zip |
zsh-workers/9195
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compcore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/compcore.c b/Src/Zle/compcore.c index 425dcf464..dc1abc8cf 100644 --- a/Src/Zle/compcore.c +++ b/Src/Zle/compcore.c @@ -1696,6 +1696,7 @@ addmatches(Cadata dat, char **argv) } pline = matchparts; lpre += ml; + llpl -= ml; bcp = ml; bpadd = strlen(s) - ml; } else { @@ -1721,6 +1722,7 @@ addmatches(Cadata dat, char **argv) } sline = revert_cline(matchparts); lsuf[llsl - ml] = '\0'; + llsl -= ml; bcs = ml; bsadd = strlen(s) - ml; } else { |