about summary refs log tree commit diff
path: root/Src/Zle/compmatch.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-10-28 17:34:33 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-10-28 17:34:33 +0000
commitaea77152614952519351b5a52b6ec19ea7c302c2 (patch)
tree12c6d5e230749099ad19a5f75bb9cfa7ce18ba70 /Src/Zle/compmatch.c
parent5f11a38bea0b4d843c72dbdb9fab23280a0aa228 (diff)
downloadzsh-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/compmatch.c')
-rw-r--r--Src/Zle/compmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c
index e4c5a438f..4449f3554 100644
--- a/Src/Zle/compmatch.c
+++ b/Src/Zle/compmatch.c
@@ -1584,7 +1584,7 @@ sub_match(Cmdata md, char *str, int len, int sfx)
 {
     int ret = 0, l, ind, add;
     char *p, *q;
-#ifdef ZLE_UNICODE_SUPPORT
+#ifdef MULTIBYTE_SUPPORT
     int fulllen = len;
     char *fullstr = str;
     mbstate_t ps;
@@ -1619,7 +1619,7 @@ sub_match(Cmdata md, char *str, int len, int sfx)
 		   || (l < md->len && q[-1] == Meta)))
 		l--;
 	}
-#ifdef ZLE_UNICODE_SUPPORT
+#ifdef MULTIBYTE_SUPPORT
 	/*
 	 * Make sure we don't end in the middle of a multibyte character.
 	 * Don't need to do this if the match ended at the start