treat vertical tab and form feed characters as whitespace
This commit is contained in:
parent
e003c66498
commit
8e91cb2b7d
@ -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)
|
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)
|
static void stbi__pnm_skipspace(stbi__context *s, char *c)
|
||||||
|
Loading…
Reference in New Issue
Block a user