Correcting a mistake in the fmemopen alternative that prevented labels to be saved.

This commit is contained in:
Pere Pujal i Carabantes 2010-06-29 20:06:44 +00:00
parent 96feb8e49e
commit cf3eb566f0

View file

@ -13082,7 +13082,7 @@ static void do_png_embed_data(png_structp png_ptr)
printf("cur %p, red %p\n", current_node, first_label_node_in_redo_stack);
}
#ifndef fmemopen_alternative
#ifdef fmemopen_alternative
size_of_uncompressed_label_data = ftell(lfi);
rewind(lfi);
ldata = malloc(size_of_uncompressed_label_data);