1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-01-05 19:27:07 +00:00

better windows support

This commit is contained in:
taipanromania
2008-09-26 11:39:06 +00:00
parent f8166fa331
commit 8ff0df1491
5 changed files with 8 additions and 6 deletions

View File

@@ -55,7 +55,6 @@ static void writepng_error_handler(png_structp png_ptr, png_const_charp msg)
int png_to_file(struct zint_symbol *symbol, int image_height, int image_width, char *pixelbuf, int rotate_angle)
{
#ifndef NO_PNG
struct mainprog_info_type wpng_info;
struct mainprog_info_type *graphic;
unsigned char outdata[image_width * 3];
@@ -270,7 +269,6 @@ int png_to_file(struct zint_symbol *symbol, int image_height, int image_width, c
/* make sure we have disengaged */
if (png_ptr && info_ptr) png_destroy_write_struct(&png_ptr, &info_ptr);
fclose(wpng_info.outfile);
#endif
return 0;
}