From: Josiah Worcester Date: Wed, 8 Jun 2011 22:52:46 +0000 (-0600) Subject: lib: [tt.c] Fix mbs_width macro for systems without WIDECHAR X-Git-Tag: v2.20-rc1~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eab0c74daa4f5f77ef524565a228f49465150f88;p=thirdparty%2Futil-linux.git lib: [tt.c] Fix mbs_width macro for systems without WIDECHAR Signed-off-by: Josiah Worcester --- 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) \