summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/gd/libgd-src/src/fontconfigtest.c')
-rw-r--r--Build/source/libs/gd/libgd-src/src/fontconfigtest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Build/source/libs/gd/libgd-src/src/fontconfigtest.c b/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
index 47c484922db..eda5c959a83 100644
--- a/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
+++ b/Build/source/libs/gd/libgd-src/src/fontconfigtest.c
@@ -9,7 +9,6 @@ int main (int argc, char *argv[])
gdImagePtr im;
int green, blue;
gdFTStringExtra se;
- FILE *out;
im = gdImageCreateTrueColor(300, 100);
green = gdImageColorAllocate(im, 128, 255, 128);
gdImageFilledRectangle(im, 0, 0, 300, 100, green);
@@ -33,7 +32,7 @@ int main (int argc, char *argv[])
gdImageStringFTEx(im, 0, blue, "arial",
12, 0, 20, 80, "plain pathname", &se);
#ifdef HAVE_LIBPNG
- out = fopen("fontconfigtest.png", "wb");
+ FILE *out = fopen("fontconfigtest.png", "wb");
gdImagePng(im, out);
fclose(out);
#else
@@ -41,4 +40,3 @@ int main (int argc, char *argv[])
#endif /* HAVE_LIBPNG */
return 0;
}
-