j'adore quand un plan se deroule sans accroc

This commit is contained in:
2019-06-30 01:18:39 +02:00
parent c7d7c8b2dd
commit 1008a778c9
3 changed files with 8 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ fseek(fp, 1L, SEEK_CUR); /* black magic */
Rptr = head->R; Gptr = head->G; Bptr = head->B;
for (line=0; line<height; line++) {
foo = fread(buffline, 3, width, fp);
fprintf(stderr, "line %d read %d\n", line, width);
// fprintf(stderr, "line %d read %d\n", line, width);
idxrd = buffline;
for (column=0; column<width; column++)
{
@@ -130,7 +130,6 @@ for (idx=0; idx<sz; idx++) {
}
fputs("\n", fp);
fclose(fp);
return 0;