From e61521448834628dd50715b0cb38371b194b2624 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 9 Oct 2019 02:38:08 -0400 Subject: [PATCH] Fix bare backslash n as being a valid whitespace character. --- stb_include.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_include.h b/stb_include.h index 7bdf7c4..5724d82 100644 --- a/stb_include.h +++ b/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