projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d69f2a
)
(main): Use gdImageCreateTrueColor only if HAVE_GD > 1.
author
handa
<handa>
Tue, 17 Jan 2006 02:50:19 +0000
(
02:50
+0000)
committer
handa
<handa>
Tue, 17 Jan 2006 02:50:19 +0000
(
02:50
+0000)
example/mdump.c
patch
|
blob
|
history
diff --git
a/example/mdump.c
b/example/mdump.c
index
f64d249
..
087f117
100644
(file)
--- a/
example/mdump.c
+++ b/
example/mdump.c
@@
-720,7
+720,11
@@
main (int argc, char **argv)
}
}
+#if HAVE_GD > 1
image = gdImageCreateTrueColor (paper_width, paper_height);
+#else
+ image = gdImageCreate (paper_width, paper_height);
+#endif
from = 0;
page_index = 1;