summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/zsh.h2
-rw-r--r--configure.ac2
3 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index c7fa28347..cea4a566e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-23  Peter Stephenson  <pws@csr.com>
+
+	* 24864: Jun T.: configure.ac, Src/zsh.h: typos in 24861.
+
 2008-04-22  Peter Stephenson  <pws@csr.com>
 
 	* 24862: Src/system.h: #define _XOPEN_SOURCE if needed to
diff --git a/Src/zsh.h b/Src/zsh.h
index 727dcefd6..818953c0d 100644
--- a/Src/zsh.h
+++ b/Src/zsh.h
@@ -2257,7 +2257,7 @@ typedef wint_t convchar_t;
 #define MB_METASTRLEN2(str, widthp)	mb_metastrlen(str, widthp)
 
 #ifdef BROKEN_WCWIDTH
-#define WCWIDTH(wc)	wcwidth_mk(wc)
+#define WCWIDTH(wc)	mk_wcwidth(wc)
 #else
 #define WCWIDTH(wc)	wcwidth(wc)
 #endif
diff --git a/configure.ac b/configure.ac
index 247f4f062..704f8b1a4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2320,7 +2320,7 @@ if test x$zsh_cv_c_unicode_support = xyes; then
   zsh_cv_c_broken_wcwidth=yes,
   zsh_cv_c_broken_wcwidth=no,
   zsh_cv_c_broken_wcwidth=no)])
-  if test x$zsh_cv_c_broken_wcwdith = xyes; then
+  if test x$zsh_cv_c_broken_wcwidth = xyes; then
     AC_DEFINE(BROKEN_WCWIDTH)
   fi
 fi