summaryrefslogtreecommitdiffstats
path: root/text-utils/more.c
diff options
context:
space:
mode:
authorKarel Zak2008-04-16 22:47:37 +0200
committerKarel Zak2008-04-16 22:47:37 +0200
commit8381a8c6772da756c8a309f8c2c6061d34c5c3d7 (patch)
tree54de3d5afaf403dfa2ede3fd5748e917821cfa0d /text-utils/more.c
parentpo: merge changes (diff)
downloadkernel-qcow2-util-linux-8381a8c6772da756c8a309f8c2c6061d34c5c3d7.tar.gz
kernel-qcow2-util-linux-8381a8c6772da756c8a309f8c2c6061d34c5c3d7.tar.xz
kernel-qcow2-util-linux-8381a8c6772da756c8a309f8c2c6061d34c5c3d7.zip
more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR
This problem has been detected by tools/codecheck-config. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/more.c')
-rw-r--r--text-utils/more.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index d261f7334..dc38ff2a7 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);