fix typo in ctype.c

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2008-08-19 16:53:47 +00:00 committed by Stefan Reinauer
parent 2aea11f57f
commit 0740cdaac9
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ int ispunct(int c)
int isspace(int c) int isspace(int c)
{ {
return (c == ' ' || (c >= '\t' || c <= '\r')); return (c == ' ' || (c >= '\t' && c <= '\r'));
} }
int isupper(int c) int isupper(int c)