--- export.c 2008-03-14 07:20:05.000000000 +0100 +++ export.c.new 2010-05-19 13:39:20.000000000 +0200 @@ -516,8 +516,8 @@ atext[1].compression = PNG_TEXT_COMPRESSION_NONE; #ifdef PNG_iTXt_SUPPORTED - text_ptr[0].lang = NULL; - text_ptr[1].lang = NULL; + atext[0].lang = NULL; + atext[1].lang = NULL; #endif png_set_text (ppng, pinfo, atext, 2);