From eab0c74daa4f5f77ef524565a228f49465150f88 Mon Sep 17 00:00:00 2001 From: Josiah Worcester Date: Wed, 8 Jun 2011 16:52:46 -0600 Subject: [PATCH] lib: [tt.c] Fix mbs_width macro for systems without WIDECHAR Signed-off-by: Josiah Worcester --- lib/tt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tt.c b/lib/tt.c index 7cbbce3c20..1929a48cfe 100644 --- a/lib/tt.c +++ b/lib/tt.c @@ -52,7 +52,7 @@ static const struct tt_symbols utf8_tt_symbols = { }; #else /* !HAVE_WIDECHAR */ -# define mbs_width strlen(_s) +# define mbs_width(_s) strlen(_s) #endif /* !HAVE_WIDECHAR */ #define is_last_column(_tb, _cl) \ -- 2.47.3