Correcting a mistake in the fmemopen alternative that prevented labels to be saved.
This commit is contained in:
parent
96feb8e49e
commit
cf3eb566f0
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
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);
|
size_of_uncompressed_label_data = ftell(lfi);
|
||||||
rewind(lfi);
|
rewind(lfi);
|
||||||
ldata = malloc(size_of_uncompressed_label_data);
|
ldata = malloc(size_of_uncompressed_label_data);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue