From: Thomas Roessler Date: Mon, 4 Dec 2000 09:00:08 +0000 (+0000) Subject: A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE. X-Git-Tag: mutt-1-3-13-rel~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23b76e8fb460000aaa8e112f7019bfadc4b200f7;p=mutt A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE. --- 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; }