projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Optimization and comments.
[pspp]
/
lib
/
c-ctype.c
diff --git
a/lib/c-ctype.c
b/lib/c-ctype.c
index eea71026329f277333f8ed2c6c669fb7c1625516..46714d3ac891b05384fd4af58b43bbfd17123f42 100644
(file)
--- 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