]> git.tdb.fi Git - ttf2png.git/blobdiff - ttf2png.c
Update copyright at the top of the .c file
[ttf2png.git] / ttf2png.c
index 0a66de26cc72f2c09772743db26f6eb7696cd5da..84455554eb5c403bbe1c4329fa71b2998af9a4c0 100644 (file)
--- 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, "-"))