Fix bare backslash n as being a valid whitespace character.

master
cnlohr ago%!(EXTRA string=6 years)
parent 052dce117e
commit e615214488
  1. 2
      stb_include.h

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

Loading…
Cancel
Save