garbage collecting again

This commit is contained in:
tth
2022-07-07 12:52:00 +02:00
parent 6455be4d5b
commit 95beee167d
43 changed files with 343 additions and 341 deletions
+3
View File
@@ -411,6 +411,9 @@ if ( (fp=fopen(fname, "w")) == NULL )
return FILE_CREATE_ERR;
}
fprintf(fp, "P3\n%d 1\n255\n", p->nbre);
if (NULL != comment) {
fprintf(fp, "# %s\n", comment);
}
for (foo=0; foo<p->nbre; foo++)
{
fprintf(fp, "%3d %3d %3d\n", p->red[foo], p->green[foo], p->blue[foo]);