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:
a09e908
)
(main): Use gdImageAlphaBlending only if HAVE_GD > 1.
author
handa
<handa>
Tue, 17 Jan 2006 04:06:15 +0000
(
04:06
+0000)
committer
handa
<handa>
Tue, 17 Jan 2006 04:06:15 +0000
(
04:06
+0000)
example/mdump.c
patch
|
blob
|
history
diff --git
a/example/mdump.c
b/example/mdump.c
index
087f117
..
97ee4d4
100644
(file)
--- a/
example/mdump.c
+++ b/
example/mdump.c
@@
-741,7
+741,9
@@
main (int argc, char **argv)
else
bg_rgb = gdImageColorAllocate (image, 255, 255, 255);
gdImageColorTransparent (image, bg_rgb);
+#if HAVE_GD > 1
gdImageAlphaBlending (image, 0);
+#endif
}
else
{