aboutsummaryrefslogtreecommitdiff
path: root/gentpl
diff options
context:
space:
mode:
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);