From e1f5851b701bf7ca6cc7adbf0657cfbe52022a20 Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 17 Jan 2006 02:50:19 +0000 Subject: [PATCH] (main): Use gdImageCreateTrueColor only if HAVE_GD > 1. --- example/mdump.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/example/mdump.c b/example/mdump.c index f64d249..087f117 100644 --- 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; -- 1.7.10.4