mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +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)
|
int IsWhiteSpace(char space)
|
||||||
{
|
{
|
||||||
|
#ifdef REHLDS_FIXES
|
||||||
|
return isspace(space);
|
||||||
|
#else
|
||||||
return space == ' ' || space == '\t' || space == '\r' || space == '\n';
|
return space == ' ' || space == '\t' || space == '\r' || space == '\n';
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
NOXREF const char *SkipSpace(const char *pText)
|
NOXREF const char *SkipSpace(const char *pText)
|
||||||
|
Loading…
Reference in New Issue
Block a user