Minor stylistic code changes to compress and image packages

This commit is contained in:
gingerBill committed 2021-04-30 10:58:29 +01:00
1 parent 7ef30355cb
commit 5f617c56e1
8 files changed
+584 -589

No files matched your search

+2 -2
View File
@@ -194,7 +194,7 @@ write_image_as_ppm :: proc(filename: string, image: ^image.Image) -> (success: b
}
defer close(fd);
write_string(fd,
write_string(fd,
fmt.tprintf("P6\n%v %v\n%v\n", width, height, (1 << depth -1)),
);
@@ -324,4 +324,4 @@ write_image_as_ppm :: proc(filename: string, image: ^image.Image) -> (success: b
}
}
return true;
}
}