summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-04-23 08:39:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-04-23 08:39:58 +0000
commit1e41a8a44a7fce08523996d4682b12cb22ec67a4 (patch)
tree87e250566d29ae783b3852b5e66744eefaceed7f
parente210f8d614dced7b44f07651ee1b058adadcb4a4 (diff)
downloadzsh-1e41a8a44a7fce08523996d4682b12cb22ec67a4.tar.gz
zsh-1e41a8a44a7fce08523996d4682b12cb22ec67a4.tar.xz
zsh-1e41a8a44a7fce08523996d4682b12cb22ec67a4.zip
24864: Jun. T: typos in alternative wcwidth().
-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