summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWayne Davison <wayned@users.sourceforge.net>2005-11-01 03:26:50 +0000
committerWayne Davison <wayned@users.sourceforge.net>2005-11-01 03:26:50 +0000
commit16697055ac20db20a29ecfd6278f0958c669ac00 (patch)
tree7db9bf29d7981ea8f4b0edd9265a2ad263433dc0
parent23a4c1cfd30c34cd05a422894e683956c4bf873d (diff)
downloadzsh-16697055ac20db20a29ecfd6278f0958c669ac00.tar.gz
zsh-16697055ac20db20a29ecfd6278f0958c669ac00.zip
Changed zle_text to a "char *" to match the new ZLE_STRING_T.
-rw-r--r--Src/zsh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/zsh.h b/Src/zsh.h
index d59fc44e4..2888ec5a9 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -1432,10 +1432,10 @@ struct histent {
Histent up; /* previous line (moving upward) */
Histent down; /* next line (moving downward) */
-#ifdef MULTIBYTE_SUPPORT
+#ifdef MULTIBYTE_SUPPORT /* (Note: must match ZLE_STRING_T!) */
wchar_t *zle_text; /* the edited history line */
#else
- unsigned char *zle_text; /* the edited history line */
+ char *zle_text; /* the edited history line */
#endif
int zle_len; /* length of zle_text */
time_t stim; /* command started time (datestamp) */