From: Thomas Roessler Date: Fri, 12 May 2000 13:41:34 +0000 (+0000) Subject: Make things compile. ;-) X-Git-Tag: mutt-1-3-1-rel~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2643ae3936070237f7850d880d3b8bc8352bfb99;p=mutt Make things compile. ;-) --- diff --git a/mbyte.c b/mbyte.c index c7e7f156..2d99389e 100644 --- a/mbyte.c +++ b/mbyte.c @@ -5,6 +5,8 @@ #include +#include + #ifndef EILSEQ #define EILSEQ EINVAL #endif diff --git a/wcwidth.c b/wcwidth.c index 6b0933bb..dbaa9611 100644 --- a/wcwidth.c +++ b/wcwidth.c @@ -13,6 +13,8 @@ #include "mutt.h" #include "mbyte.h" +#include + #ifndef HAVE_WC_FUNCS /* These functions define the column width of an ISO 10646 character @@ -88,7 +90,7 @@ int wcwidth(wchar_t ucs) /* non-UCS case */ if (!Charset_is_utf8) { if (0 <= ucs && ucs < 256) - return IsPrint(wc) ? 1 : -1; + return IsPrint(ucs) ? 1 : -1; else return -1; }