X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fc-ctype.c;h=46714d3ac891b05384fd4af58b43bbfd17123f42;hb=d33e27b00b65fc12a046ca1f1bdb17bc5c1d1585;hp=eea71026329f277333f8ed2c6c669fb7c1625516;hpb=f02c0a8f143140d93e855ed7ccd31779e707381d;p=gnulib.git diff --git a/lib/c-ctype.c b/lib/c-ctype.c index eea710263..46714d3ac 100644 --- a/lib/c-ctype.c +++ b/lib/c-ctype.c @@ -40,7 +40,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ bool c_isascii (int c) { - return ((c & ~0x7f) == 0); + return (c >= 0x00 && c <= 0x7f); } bool