From cf3eb566f0cba11e56b6f4b28a1daec3b16a391d Mon Sep 17 00:00:00 2001 From: Pere Pujal i Carabantes Date: Tue, 29 Jun 2010 20:06:44 +0000 Subject: [PATCH] Correcting a mistake in the fmemopen alternative that prevented labels to be saved. --- src/tuxpaint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index 08dd96caa..38a6b3c58 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -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);