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/complist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src/Zle/complist.c') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index e0ee806bb..a84a34768 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -559,7 +559,7 @@ clnicezputs(Listcols colors, char *s, int ml) int i = 0, col = 0, ask, oml = ml; char *t; ZLE_CHAR_T cc; -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT /* * ums is the untokenized, unmetafied string (length umlen) * uptr is a pointer into it @@ -1940,7 +1940,7 @@ msearchpop(int *backp) static Cmatch ** msearch(Cmatch **ptr, int ins, int back, int rep, int *wrapp) { -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT /* MB_CUR_MAX may not be constant */ VARARR(char, s, MB_CUR_MAX+1); #else @@ -1953,7 +1953,7 @@ msearch(Cmatch **ptr, int ins, int back, int rep, int *wrapp) msearchpush(ptr, back); if (ins) { -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT if (lastchar_wide_valid) { int len = wctomb(s, lastchar_wide); -- cgit 1.4.1