summaryrefslogtreecommitdiff
path: root/tests/png
diff options
context:
space:
mode:
authorpierrejoye <none@none>2013-04-03 14:23:11 +0200
committerpierrejoye <none@none>2013-04-03 14:23:11 +0200
commite20413bf6b872a8c23f1704a89295c5897347c9d (patch)
treef34b5402f97cd826bb312e18677f3974d53bfd52 /tests/png
parent385566e4ba57d803921a13306ead66f354cee0a2 (diff)
downloadlibgd-e20413bf6b872a8c23f1704a89295c5897347c9d.tar.gz
- apply same CS everywhere
Diffstat (limited to 'tests/png')
-rw-r--r--tests/png/bug00011.c2
-rw-r--r--tests/png/bug00033.c2
-rw-r--r--tests/png/bug00086.c12
-rw-r--r--tests/png/bug00088.c2
-rw-r--r--tests/png/png_im2im.c4
5 files changed, 12 insertions, 10 deletions
diff --git a/tests/png/bug00011.c b/tests/png/bug00011.c
index 0525005..62bd568 100644
--- a/tests/png/bug00011.c
+++ b/tests/png/bug00011.c
@@ -6,7 +6,7 @@
int main()
{
- gdImagePtr im;
+ gdImagePtr im;
FILE *fp;
char path[2048];
diff --git a/tests/png/bug00033.c b/tests/png/bug00033.c
index 9ebb5e3..3b54701 100644
--- a/tests/png/bug00033.c
+++ b/tests/png/bug00033.c
@@ -6,7 +6,7 @@
int main()
{
- gdImagePtr im;
+ gdImagePtr im;
FILE *fp;
char path[1024];
diff --git a/tests/png/bug00086.c b/tests/png/bug00086.c
index 328b686..22f79bc 100644
--- a/tests/png/bug00086.c
+++ b/tests/png/bug00086.c
@@ -7,7 +7,8 @@
#include "gd.h"
static const unsigned char pngdata[93];
-int main(void) {
+int main(void)
+{
gdImagePtr im;
if ( ( im = gdImageCreateFromPngPtr(93, (char*) &pngdata[0]) ) == NULL) {
@@ -23,8 +24,9 @@ int main(void) {
/* PNG data */
static const unsigned char pngdata[93] = {137,80,78,71,13,10,26,10,0,0,
-0,13,73,72,68,82,0,0,0,120,0,0,0,131,8,6,0,0,0,70,49,223,8,0,0,0,6,98,
-75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,92,
-70,0,0,92,70,1,20,148,67,65,0,0,0,9,118,112,65,103,0,0,0,120,0,0,0,131,
-0,226,13,249,45};
+ 0,13,73,72,68,82,0,0,0,120,0,0,0,131,8,6,0,0,0,70,49,223,8,0,0,0,6,98,
+ 75,71,68,0,255,0,255,0,255,160,189,167,147,0,0,0,9,112,72,89,115,0,0,92,
+ 70,0,0,92,70,1,20,148,67,65,0,0,0,9,118,112,65,103,0,0,0,120,0,0,0,131,
+ 0,226,13,249,45
+ };
diff --git a/tests/png/bug00088.c b/tests/png/bug00088.c
index f383e7d..78495aa 100644
--- a/tests/png/bug00088.c
+++ b/tests/png/bug00088.c
@@ -7,7 +7,7 @@
int main()
{
int error;
- gdImagePtr im;
+ gdImagePtr im;
FILE *fp;
char path[1024];
const char * files[2] = {"bug00088_1.png", "bug00088_2.png"};
diff --git a/tests/png/png_im2im.c b/tests/png/png_im2im.c
index 476d4be..bac5e13 100644
--- a/tests/png/png_im2im.c
+++ b/tests/png/png_im2im.c
@@ -58,9 +58,9 @@ int main()
printf("pixels changed: %d\n", result.pixels_changed);
}
gdImageDestroy(dst);
- door1:
+door1:
gdFree(p);
- door0:
+door0:
gdImageDestroy(src);
return status;
}