]> granicus.if.org Git - mutt/commitdiff
A little fix for the -HAVE_WC_FUNCS +LOCALES_HACK case. From EGE.
authorThomas Roessler <roessler@does-not-exist.org>
Mon, 4 Dec 2000 09:00:08 +0000 (09:00 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Mon, 4 Dec 2000 09:00:08 +0000 (09:00 +0000)
mbyte.c

diff --git a/mbyte.c b/mbyte.c
index c38e3fa92c9263a4b45cfd79ca9bb92013d9190d..0eb8f3507859d127a0959528c3c69df75446989d 100644 (file)
--- 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;
     }