diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 09:29:22 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 09:29:22 +0000 |
commit | 029483745b3db4280810cc5e0f32b4a1218fa21f (patch) | |
tree | f3db98c241f2a1ac5e8ea2375c34ed562663f2a7 /Src/Zle | |
parent | 7d17c9ca4be0ee1f2e7e983edf06868891901ae7 (diff) | |
download | zsh-029483745b3db4280810cc5e0f32b4a1218fa21f.tar.gz zsh-029483745b3db4280810cc5e0f32b4a1218fa21f.tar.xz zsh-029483745b3db4280810cc5e0f32b4a1218fa21f.zip |
better cursor positioning in words with multiple ambiguous word parts (11248)
Diffstat (limited to 'Src/Zle')
-rw-r--r-- | Src/Zle/compmatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index f38ea6a9f..682994fdd 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -211,9 +211,9 @@ void cline_setlens(Cline l, int both) { while (l) { - l->max = cline_sublen(l); + l->min = cline_sublen(l); if (both) - l->min = l->max; + l->max = l->min; l = l->next; } } |