summaryrefslogtreecommitdiff
path: root/tests/gdimagecopy
diff options
context:
space:
mode:
authorpajoye <none@none>2007-11-21 12:22:40 +0000
committerpajoye <none@none>2007-11-21 12:22:40 +0000
commitd71bbaa51a8a4ddb285e9d41a24da5359c1ca494 (patch)
treeb8db749ad5339103b366e3a4c658142443e259a5 /tests/gdimagecopy
parent5228e4bebc16deac3306a9b1d0a61e466a4bd1ef (diff)
downloadlibgd-d71bbaa51a8a4ddb285e9d41a24da5359c1ca494.tar.gz
- fix 2nd test c/p evilness
Diffstat (limited to 'tests/gdimagecopy')
-rw-r--r--tests/gdimagecopy/bug00081.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gdimagecopy/bug00081.c b/tests/gdimagecopy/bug00081.c
index 291dd42..d82b674 100644
--- a/tests/gdimagecopy/bug00081.c
+++ b/tests/gdimagecopy/bug00081.c
@@ -23,7 +23,7 @@ int main()
gdImageFilledRectangle(im, 1, 1, 4, 4, 0xFF00FF);
im2 = gdImageCreateTrueColor(20, 20);
- if (!im) {
+ if (!im2) {
printf("can't create the dst truecolor image\n");
gdImageDestroy(im);
return 1;