1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-13 11:21:13 +02:00

22713: word end in math completion context was screwy

This commit is contained in:
Peter Stephenson 2006-09-15 15:38:36 +00:00
parent bb3628e898
commit 0d4a9f65f7
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2006-09-15 Peter Stephenson <pws@csr.com> 2006-09-15 Peter Stephenson <pws@csr.com>
* 22713: Src/Zle/zle_tricky.c: word end in math completion context
was screwy.
* 22710: README, Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, * 22710: README, Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c,
Src/utils.c: assume width 1 for control characters; don't Src/utils.c: assume width 1 for control characters; don't
crash if width of repeated padding string is 0. crash if width of repeated padding string is 0.

View file

@ -1426,7 +1426,7 @@ get_comp_string(void)
* (even if they don't have a `$' in front of them). So we * * (even if they don't have a `$' in front of them). So we *
* have to find that name. */ * have to find that name. */
char *cspos = zlemetaline + zlemetacs, *wptr, *cptr; char *cspos = zlemetaline + zlemetacs, *wptr, *cptr;
we = itype_end(cspos, IIDENT, 0) - cspos; we = itype_end(cspos, IIDENT, 0) - zlemetaline;
/* /*
* With multibyte characters we need to go forwards, * With multibyte characters we need to go forwards,