From 8381a8c6772da756c8a309f8c2c6061d34c5c3d7 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 16 Apr 2008 22:47:37 +0200 Subject: [PATCH] more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR This problem has been detected by tools/codecheck-config. Signed-off-by: Karel Zak --- text-utils/more.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text-utils/more.c b/text-utils/more.c index d261f733..dc38ff2a 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1051,7 +1051,7 @@ void prbuf (register char *s, register int n) my_putstring(state ? ULenter : ULexit); } if (c != ' ' || pstate == 0 || state != 0 || ulglitch == 0) -#ifdef ENABLE_WIDECHAR +#ifdef HAVE_WIDECHAR { wchar_t wc; size_t mblength; @@ -1067,7 +1067,7 @@ void prbuf (register char *s, register int n) } #else putchar(c); -#endif /* ENABLE_WIDECHAR */ +#endif /* HAVE_WIDECHAR */ if (state && *chUL) { putsout(chBS); my_putstring(chUL); -- 2.39.5