mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-06 03:55:32 +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)
|
while (true)
|
||||||
{
|
{
|
||||||
// Skip whitespace up to a \n
|
// Skip whitespace up to a \n
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
while (*text && (uint8_t)*text <= ' ' && *text != '\n')
|
||||||
|
#else // REHLDS_FIXES
|
||||||
while (*text && *text <= ' ' && *text != '\n')
|
while (*text && *text <= ' ' && *text != '\n')
|
||||||
|
#endif // REHLDS_FIXES
|
||||||
{
|
{
|
||||||
++text;
|
++text;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user