void VM_CheckEmptyString (const char *s)
{
- if (s[0] <= ' ')
+ if (ISWHITESPACE(s[0]))
PRVM_ERROR ("%s: Bad string", PRVM_NAME);
}
break;
// skip whitespace here to find token start pos
- while(*p && (unsigned char) *p <= ' ')
+ while(*p && ISWHITESPACE(*p))
++p;
tokens_startpos[num_tokens] = p - string;
break;
// skip whitespace here to find token start pos
- while(*p && (unsigned char) *p <= ' ')
+ while(*p && ISWHITESPACE(*p))
++p;
tokens_startpos[num_tokens] = p - string;