X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=ttf2png.c;h=84455554eb5c403bbe1c4329fa71b2998af9a4c0;hb=77f478639867f1ff138c0fcc8d566eba5a45469b;hp=0a66de26cc72f2c09772743db26f6eb7696cd5da;hpb=a815ebe3941e2157639365806e9186e49ee944b5;p=ttf2png.git diff --git a/ttf2png.c b/ttf2png.c index 0a66de2..8445555 100644 --- a/ttf2png.c +++ b/ttf2png.c @@ -1,6 +1,6 @@ /* ttf2png - True Type Font to PNG converter -Copyright (c) 2004-2008 Mikko Rasa +Copyright (c) 2004-2018 Mikko Rasa, Mikkosoft Productions This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1082,7 +1082,7 @@ int save_png(const char *fn, const Image *image, char alpha) png_info *pngi; png_byte **rows; unsigned i; - png_byte *data2 = 0; + png_byte *data2 = NULL; int color; if(!strcmp(fn, "-"))