]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lib: [tt.c] Fix mbs_width macro for systems without WIDECHAR
authorJosiah Worcester <josiahw@gmail.com>
Wed, 8 Jun 2011 22:52:46 +0000 (16:52 -0600)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 11:59:01 +0000 (13:59 +0200)
Signed-off-by: Josiah Worcester <josiahw@gmail.com>
lib/tt.c

index 7cbbce3c2095af9287c53c839cb806b5a4e9cf49..1929a48cfe5e51ee8d3c736a2c51819f79422880 100644 (file)
--- 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) \