From 23b76e8fb460000aaa8e112f7019bfadc4b200f7 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Mon, 4 Dec 2000 09:00:08 +0000 Subject: [PATCH] A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE. --- mbyte.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbyte.c b/mbyte.c index c38e3fa9..0eb8f350 100644 --- a/mbyte.c +++ b/mbyte.c @@ -243,7 +243,7 @@ int iswprint (wint_t wc) if (Charset_is_utf8 || charset_is_ja) return ((0x20 <= wc && wc < 0x7f) || 0xa0 <= wc); else - return (0 <= wc && wc < 256) ? isprint (wc) : 0; + return (0 <= wc && wc < 256) ? IsPrint (wc) : 0; } /* @@ -274,7 +274,7 @@ int wcwidth (wchar_t wc) { /* 8-bit case */ if (0 <= wc && wc < 256) - return isprint (wc) ? 1 : -1; + return IsPrint (wc) ? 1 : -1; else return -1; } -- 2.40.0