Fix bare backslash n as being a valid whitespace character.
This commit is contained in:
parent
052dce117e
commit
e615214488
@ -95,7 +95,7 @@ static void stb_include_free_includes(include_info *array, int len)
|
|||||||
|
|
||||||
static int stb_include_isspace(int ch)
|
static int stb_include_isspace(int ch)
|
||||||
{
|
{
|
||||||
return (ch == ' ' || ch == '\t' || ch == '\r' || ch == 'n');
|
return (ch == ' ' || ch == '\t' || ch == '\r' || ch == '\n');
|
||||||
}
|
}
|
||||||
|
|
||||||
// find location of all #include and #inject
|
// find location of all #include and #inject
|
||||||
|
Loading…
Reference in New Issue
Block a user