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/zle_vi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle/zle_vi.c') diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index cb072cdb6..5be0eeef3 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -135,7 +135,7 @@ vigetkey(void) } else if (cmd == Th(z_vicmdmode)) { return ZLEEOF; } -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT if (!lastchar_wide_valid) { getrestchar(lastchar); @@ -830,7 +830,7 @@ vicapslockpanic(UNUSED(char **args)) statusline = ZWS("press a lowercase key to continue"); statusll = ZS_strlen(statusline); zrefresh(); -#ifdef ZLE_UNICODE_SUPPORT +#ifdef MULTIBYTE_SUPPORT while (!iswlower(getfullchar(0))); #else while (!islower(getfullchar(0))); -- cgit 1.4.1