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:
commit
e9b56b4f71
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user