2
0
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:
In-line 2017-07-25 14:45:03 +04:00 committed by Dmitry Novikov
parent b4ef456411
commit 1cea370869

View File

@ -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)