Commits

Ondřej Surý  committed 19ef549

Don't use gd_error outside of main library

  • Participants
  • Parent commits 5b5f365

Comments (0)

Files changed (1)

File src/testtr.c

 	gdImagePng (im, out);
 	fclose (out);
 #else
-	gd_error("Compiled without libpng support\n");
+	fprintf(stderr, "Compiled without libpng support\n");
 #endif /* HAVE_LIBPNG */
 	gdImageDestroy (im);
 
 	return 0;
 #else
-	gd_error("Compiled without freetype support\n");
+	fprintf(stderr, "Compiled without freetype support\n");
 	return 0;
 #endif /* HAVE_LIBFREETYPE */
 }