diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-28 17:34:33 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-10-28 17:34:33 +0000 |
commit | aea77152614952519351b5a52b6ec19ea7c302c2 (patch) | |
tree | 12c6d5e230749099ad19a5f75bb9cfa7ce18ba70 /Src/Zle/zle_tricky.c | |
parent | 5f11a38bea0b4d843c72dbdb9fab23280a0aa228 (diff) | |
download | zsh-aea77152614952519351b5a52b6ec19ea7c302c2.tar.gz zsh-aea77152614952519351b5a52b6ec19ea7c302c2.tar.xz zsh-aea77152614952519351b5a52b6ec19ea7c302c2.zip |
21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
Diffstat (limited to 'Src/Zle/zle_tricky.c')
-rw-r--r-- | Src/Zle/zle_tricky.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 0b70c935a..7771ff353 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -2244,7 +2244,7 @@ listlist(LinkList l) if (isset(LISTROWSFIRST)) { for (col = 1, p = data, lenp = lens; *p; p++, lenp++, col++) { - ZMB_niceputs(*p, shout); + nicezputs(*p, shout); if (col == ncols) { col = 0; if (p[1]) @@ -2262,7 +2262,7 @@ listlist(LinkList l) for (f = data, fl = lens, line = 0; line < nlines; f++, fl++, line++) { for (col = 1, p = f, lenp = fl; *p; col++) { - ZMB_niceputs(*p, shout); + nicezputs(*p, shout); if (col == ncols) break; if ((i = (pack ? widths[col - 1] : longest) - *lenp + 2) > 0) @@ -2276,7 +2276,7 @@ listlist(LinkList l) } } else { for (p = data; *p; p++) { - ZMB_niceputs(*p, shout); + nicezputs(*p, shout); putc('\n', shout); } } @@ -2367,7 +2367,7 @@ void fixmagicspace(void) { lastchar = ' '; -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT /* * This is redundant if the multibyte encoding extends ASCII, * since lastchar is a full character, but it's safer anyway... @@ -2386,7 +2386,7 @@ magicspace(char **args) int ret; fixmagicspace(); -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT /* * TODO: bangchar should really be a multibyte string representing * a single character, since there's no fundamental reason why |