From aea77152614952519351b5a52b6ec19ea7c302c2 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 28 Oct 2005 17:34:33 +0000 Subject: 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT; use multibyte versions of nicechar wherever possible. --- Src/Zle/compresult.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Src/Zle/compresult.c') 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); -- cgit 1.4.1