about summary refs log tree commit diff
path: root/Src/utils.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-09-23 20:25:05 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-09-23 20:25:05 +0000
commit8f982856626fb000ba722373566ec089208ff67c (patch)
tree4702377bb411ae1ed7cc48c48e2ae9d9ce45d4e9 /Src/utils.c
parent71fa876defaafe49874b93fdff0c7c4a4e72c878 (diff)
downloadzsh-8f982856626fb000ba722373566ec089208ff67c.tar.gz
zsh-8f982856626fb000ba722373566ec089208ff67c.tar.xz
zsh-8f982856626fb000ba722373566ec089208ff67c.zip
22765: rename some MB_ macros to WC_ for consistency.
Diffstat (limited to 'Src/utils.c')
-rw-r--r--Src/utils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/utils.c b/Src/utils.c
index e91baf970..99b0eb743 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -2616,7 +2616,7 @@ findsep(char **s, char *sep, int quote)
 		    continue;
 		} else {
 		    ilen = MB_METACHARLENCONV(t+1, &c);
-		    if (MB_ZISTYPE(c, ISEP)) {
+		    if (WC_ZISTYPE(c, ISEP)) {
 			chuck(t);
 			/* then advance over new character, length ilen */
 		    } else {
@@ -2628,7 +2628,7 @@ findsep(char **s, char *sep, int quote)
 		}
 	    } else {
 		ilen = MB_METACHARLENCONV(t, &c);
-		if (MB_ZISTYPE(c, ISEP))
+		if (WC_ZISTYPE(c, ISEP))
 		    break;
 	    }
 	}
@@ -2683,7 +2683,7 @@ findword(char **s, char *sep)
     for (t = *s; *t; t += sl) {
 	convchar_t c;
 	sl = MB_METACHARLENCONV(t, &c);
-	if (!MB_ZISTYPE(c, ISEP))
+	if (!WC_ZISTYPE(c, ISEP))
 	    break;
     }
     *s = t;
@@ -4172,7 +4172,7 @@ bslashquote(const char *s, char **e, int instring)
 #ifdef MULTIBYTE_SUPPORT
 		cc != WEOF && 
 #endif
-		MB_ISPRINT(cc)) {
+		WC_ISPRINT(cc)) {
 		switch (cc) {
 		case ZWC('\\'):
 		case ZWC('\''):