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:
parent
2aea11f57f
commit
0740cdaac9
|
@ -81,7 +81,7 @@ int ispunct(int c)
|
|||
|
||||
int isspace(int c)
|
||||
{
|
||||
return (c == ' ' || (c >= '\t' || c <= '\r'));
|
||||
return (c == ' ' || (c >= '\t' && c <= '\r'));
|
||||
}
|
||||
|
||||
int isupper(int c)
|
||||
|
|
Loading…
Reference in New Issue