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
diff --git a/payloads/libpayload/libc/ctype.c b/payloads/libpayload/libc/ctype.c
index 5485b46..fba9a7c 100644
--- a/payloads/libpayload/libc/ctype.c
+++ b/payloads/libpayload/libc/ctype.c
@@ -81,7 +81,7 @@
 
 int isspace(int c)
 {
-	return (c == ' ' || (c >= '\t' || c <= '\r'));
+	return (c == ' ' || (c >= '\t' && c <= '\r'));
 }
 
 int isupper(int c)