diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2011-05-09 09:49:08 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2011-05-09 09:49:08 +0000 |
commit | d89361739acdf07f0b0775c85f69abe89d57b600 (patch) | |
tree | ded652c4758d749b718d72491a95f9f2acdf427d /Src/Zle/compmatch.c | |
parent | 70fd751a823ddc5fa9cfe696700edb5a4f2067bb (diff) | |
download | zsh-d89361739acdf07f0b0775c85f69abe89d57b600.tar.gz zsh-d89361739acdf07f0b0775c85f69abe89d57b600.tar.xz zsh-d89361739acdf07f0b0775c85f69abe89d57b600.zip |
29165: use term.h globally if needed at all.
Diffstat (limited to 'Src/Zle/compmatch.c')
-rw-r--r-- | Src/Zle/compmatch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index b59f5a2e1..4cd3b9ffe 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1268,7 +1268,7 @@ pattern_match_equivalence(Cpattern lp, convchar_t wind, int wmtp, /**/ static int pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen, - Cpattern prestrict, ZLE_STRING_T newline) + Cpattern prestrict, ZLE_STRING_T new_line) { convchar_t c; convchar_t ind, wind; @@ -1356,7 +1356,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen, } /* We need to assemble the line */ - *newline++ = (ZLE_CHAR_T)c; + *new_line++ = (ZLE_CHAR_T)c; prestrict = prestrict->next; wsc++; wsclen--; @@ -1393,7 +1393,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen, if (!pattern_match1(p, c, &mt)) return 0; p = p->next; - *newline++ = (ZLE_CHAR_T)c; + *new_line++ = (ZLE_CHAR_T)c; prestrict = prestrict->next; } |