mirror of
https://github.com/nothings/stb
synced 2025-03-12 16:11:11 -04:00
stb_image: pnm change error precision s/PPM/PNM/
This commit is contained in:
parent
3bdc433c15
commit
149a54b910
@ -7173,7 +7173,7 @@ static int stbi__pnm_info_raw(stbi__pnm *p, int *x, int *y, int *comp, char
|
|||||||
p->maxv = 1;
|
p->maxv = 1;
|
||||||
|
|
||||||
if (p->maxv > 255)
|
if (p->maxv > 255)
|
||||||
return stbi__err("max value > 255", "PPM image not 8-bit");
|
return stbi__err("max value > 255", "PNM image not 8-bit");
|
||||||
else
|
else
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user