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/compresult.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/compresult.c')
-rw-r--r-- | Src/Zle/compresult.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c index ad8c8ea62..4018c5488 100644 --- a/Src/Zle/compresult.c +++ b/Src/Zle/compresult.c @@ -2146,15 +2146,15 @@ iprintm(Cmgroup g, Cmatch *mp, UNUSED(int mc), UNUSED(int ml), int lastc, int wi printfmt(m->disp, 0, 1, 0); return; } -#ifdef ZLE_UNICODE_SUPPORT - len = mb_niceformat(m->disp, shout, NULL); +#ifdef MULTIBYTE_SUPPORT + len = mb_niceformat(m->disp, shout, NULL, 0); #else nicezputs(m->disp, shout); len = niceztrlen(m->disp); #endif } else { -#ifdef ZLE_UNICODE_SUPPORT - len = mb_niceformat(m->str, shout, NULL); +#ifdef MULTIBYTE_SUPPORT + len = mb_niceformat(m->str, shout, NULL, 0); #else nicezputs(m->str, shout); len = niceztrlen(m->str); |