summaryrefslogtreecommitdiff
path: root/tests/gdimagecopyresampled
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-07-20 14:17:04 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-07-20 14:17:04 +0200
commit7fa65c0102d1a08a7dadd295fe3bc2fd5b87066d (patch)
treed806f6e86d62030395ff02166f32dd1c7efe2cc6 /tests/gdimagecopyresampled
parentb0db0f8886c3a5a619ab099e58e7f841d4a2b760 (diff)
downloadlibgd-7fa65c0102d1a08a7dadd295fe3bc2fd5b87066d.tar.gz
Fixed gdimagecopyresampled/bug00201.c
Diffstat (limited to 'tests/gdimagecopyresampled')
-rw-r--r--tests/gdimagecopyresampled/Makemodule.am6
-rw-r--r--tests/gdimagecopyresampled/bug00201.c2
-rw-r--r--tests/gdimagecopyresampled/bug00201_exp.pngbin10772 -> 11853 bytes
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/gdimagecopyresampled/Makemodule.am b/tests/gdimagecopyresampled/Makemodule.am
index 5d352f6..d2daa43 100644
--- a/tests/gdimagecopyresampled/Makemodule.am
+++ b/tests/gdimagecopyresampled/Makemodule.am
@@ -4,6 +4,6 @@ libgd_test_programs += \
endif
EXTRA_DIST += \
- gdimagecopyrotated/CMakeLists.txt \
- gdimagecopyrotated/bug00201_src.png \
- gdimagecopyrotated/bug00201_exp.png
+ gdimagecopyresampled/CMakeLists.txt \
+ gdimagecopyresampled/bug00201_src.png \
+ gdimagecopyresampled/bug00201_exp.png
diff --git a/tests/gdimagecopyresampled/bug00201.c b/tests/gdimagecopyresampled/bug00201.c
index 0375233..053b6db 100644
--- a/tests/gdimagecopyresampled/bug00201.c
+++ b/tests/gdimagecopyresampled/bug00201.c
@@ -45,7 +45,7 @@ int main()
background = blank_image(DEST_WIDTH,DEST_HEIGHT);
- fp = gdTestFileOpen("gdimagecopyresampled/bug00201_src.png");
+ fp = gdTestFileOpen2("gdimagecopyresampled", "bug00201_src.png");
logo_source = gdImageCreateFromPng(fp);
fclose(fp);
diff --git a/tests/gdimagecopyresampled/bug00201_exp.png b/tests/gdimagecopyresampled/bug00201_exp.png
index 927af21..9ffe155 100644
--- a/tests/gdimagecopyresampled/bug00201_exp.png
+++ b/tests/gdimagecopyresampled/bug00201_exp.png
Binary files differ