1
0
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:
Michael Mestnik 2018-10-12 12:58:51 -05:00
parent 3bdc433c15
commit 149a54b910

View File

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