mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-28 15:45:46 +03:00
Fix IsWhiteSpace (#434)
This commit is contained in:
parent
b4ef456411
commit
1cea370869
@ -144,7 +144,11 @@ int IsEndOfText(char *pText)
|
||||
|
||||
int IsWhiteSpace(char space)
|
||||
{
|
||||
#ifdef REHLDS_FIXES
|
||||
return isspace(space);
|
||||
#else
|
||||
return space == ' ' || space == '\t' || space == '\r' || space == '\n';
|
||||
#endif
|
||||
}
|
||||
|
||||
NOXREF const char *SkipSpace(const char *pText)
|
||||
|
Loading…
Reference in New Issue
Block a user