Fixed commands with unicode (#152)

This commit is contained in:
WPMGPRoSToTeMa 2016-02-02 06:57:03 +03:00
parent b25b18dfb4
commit 0b6b794f79

View File

@ -627,7 +627,11 @@ void EXT_FUNC Cmd_TokenizeString(char *text)
while (true)
{
// Skip whitespace up to a \n
#ifdef REHLDS_FIXES
while (*text && (uint8_t)*text <= ' ' && *text != '\n')
#else // REHLDS_FIXES
while (*text && *text <= ' ' && *text != '\n')
#endif // REHLDS_FIXES
{
++text;
}