From 1e41a8a44a7fce08523996d4682b12cb22ec67a4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 23 Apr 2008 08:39:58 +0000 Subject: 24864: Jun. T: typos in alternative wcwidth(). --- ChangeLog | 4 ++++ Src/zsh.h | 2 +- configure.ac | 2 +- 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 + + * 24864: Jun T.: configure.ac, Src/zsh.h: typos in 24861. + 2008-04-22 Peter Stephenson * 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 -- cgit 1.4.1