]> err.no Git - util-linux/commitdiff
more: use HAVE_WIDECHAR instead ENABLE_WIDECHAR
authorKarel Zak <kzak@redhat.com>
Wed, 16 Apr 2008 20:47:37 +0000 (22:47 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Apr 2008 20:47:37 +0000 (22:47 +0200)
This problem has been detected by tools/codecheck-config.

Signed-off-by: Karel Zak <kzak@redhat.com>
text-utils/more.c

index d261f7334190eb4ea57b98c95b20ca7cf2f3e00a..dc38ff2a771c1fdcfe9d58dc2c199736bdadc560 100644 (file)
@@ -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);