Fix bare backslash n as being a valid whitespace character.

This commit is contained in:
cnlohr 2019-10-09 02:38:08 -04:00
parent 052dce117e
commit e615214488
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ static void stb_include_free_includes(include_info *array, int len)
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