forked from tTh/FloatImg
math error
This commit is contained in:
parent
0cdb977a82
commit
af92ce4e2e
@ -298,7 +298,7 @@ if (NULL==(fp=fopen(fname, "w"))) {
|
||||
* some software (yes, povray, I look at you) doesn't like
|
||||
* width and height on two separate lines.
|
||||
*/
|
||||
fprintf(fp, "P2\n%d %d\n65532\n\n", src->width, src->height);
|
||||
fprintf(fp, "P2\n%d %d\n65535\n\n", src->width, src->height);
|
||||
|
||||
area = src->width * src->height;
|
||||
maximum = fimg_get_maxvalue(src);
|
||||
|
Loading…
Reference in New Issue
Block a user