2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Merge pull request #153 from WPMGPRoSToTeMa/fixcmdunicode

Fixed commands with unicode (#152)
This commit is contained in:
theAsmodai 2016-02-02 14:04:00 +03:00
commit e9b56b4f71

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;
}