pls
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ ppm_save(const unsigned int* buf, const PPM img)
|
|||||||
if (!fptr)
|
if (!fptr)
|
||||||
{
|
{
|
||||||
free(dst_buf);
|
free(dst_buf);
|
||||||
return 0;
|
return 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(fptr, "P%c\n%d %d\n255\n", img.fmt, img.width, img.height);
|
fprintf(fptr, "P%c\n%d %d\n255\n", img.fmt, img.width, img.height);
|
||||||
|
|||||||
Reference in New Issue
Block a user