aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-02-03 15:12:17 -0500
committercomex <comexk@gmail.com>2009-02-03 15:12:17 -0500
commitba720af1cc03250f601a96734d82d119d4e2d377 (patch)
tree92c40a88b1369657b9d392b7aa863f01a0e3f361
parent795bb8d7d748c717c1a78a3a31ed2415f22b476a (diff)
min mag
Diffstat (limited to '')
-rw-r--r--gentpl/gentpl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gentpl/gentpl.c b/gentpl/gentpl.c
index b0cdfdc..44370e8 100644
--- a/gentpl/gentpl.c
+++ b/gentpl/gentpl.c
@@ -56,6 +56,8 @@ int main(int argc, char **argv) {
printf("%dx%d\n", gdImageSX(im), gdImageSY(im));
h.width = htons(gdImageSX(im));
h.height = htons(gdImageSY(im));
+ h.min = htons(1);
+ h.mag = htons(1);
fwrite(&h, sizeof(h), 1, out);