about summary refs log tree commit diff
path: root/Src/zsh.h
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/zsh.h
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/zsh.h')
-rw-r--r--Src/zsh.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index 8fea197f7..f530cb8d9 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1432,7 +1432,7 @@ struct histent {
 
     Histent up;			/* previous line (moving upward)    */
     Histent down;		/* next line (moving downward)      */
-#ifdef ZLE_UNICODE_SUPPORT
+#ifdef MULTIBYTE_SUPPORT
     wchar_t *zle_text;		/* the edited history line          */
 #else
     unsigned char *zle_text;	/* the edited history line          */
@@ -1928,3 +1928,7 @@ typedef unsigned char *(*ZleGetLineFn) _((int *, int *));
 #define EXITHOOK       (zshhooks + 0)
 #define BEFORETRAPHOOK (zshhooks + 1)
 #define AFTERTRAPHOOK  (zshhooks + 2)
+
+#ifdef MULTIBYTE_SUPPORT
+#define nicezputs(str, outs)	(void)mb_niceformat((str), (outs), NULL, 0)
+#endif