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

View File

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