treat vertical tab and form feed characters as whitespace

pull/39/head
Ken Miller 2014-09-07 00:48:48 -05:00
parent e003c66498
commit 8e91cb2b7d
1 changed files with 1 additions and 1 deletions

View File

@ -4550,7 +4550,7 @@ static stbi_uc *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int
static int stbi__pnm_isspace(char c)
{
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
return c == ' ' || c == '\t' || c == '\n' || c == '\v' || c == '\f' || c == '\r';
}
static void stbi__pnm_skipspace(stbi__context *s, char *c)