summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-04-15 21:09:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-04-15 21:09:37 +0000
commitf368975eff8ac71f8207db41f8e0e442bfdf644a (patch)
tree99e5888ef04e8b9df40044bf9b3f2e7abe93a02e
parent9dab5eef01ebaf59a112c2dd50b22eaead047da5 (diff)
downloadzsh-f368975eff8ac71f8207db41f8e0e442bfdf644a.tar.gz
zsh-f368975eff8ac71f8207db41f8e0e442bfdf644a.tar.xz
zsh-f368975eff8ac71f8207db41f8e0e442bfdf644a.zip
users/11398: vi-goto-mark broken by multibyte support
-rw-r--r--Src/Zle/zle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle.h b/Src/Zle/zle.h
index e002c1527..be6976a31 100644
--- a/Src/Zle/zle.h
+++ b/Src/Zle/zle.h
@@ -72,6 +72,7 @@ typedef wint_t   ZLE_INT_T;
 #define ZC_toupper towupper
 
 #define LASTFULLCHAR	lastchar_wide
+#define LASTFULLCHAR_T  ZLE_INT_T
 
 #else  /* Not MULTIBYTE_SUPPORT: old single-byte code */
 
@@ -130,6 +131,7 @@ static inline int ZS_strncmp(ZLE_STRING_T s1, ZLE_STRING_T s2, size_t l)
 #define ZC_toupper tuupper
 
 #define LASTFULLCHAR	lastchar
+#define LASTFULLCHAR_T	int
 
 #endif