Commit 23b76e8f authored by Thomas Roessler's avatar Thomas Roessler

A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE.

parent e86ef062
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment