From 539286a9a5b7663dfba7849328998601816b6f14 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 19 Mar 2015 17:41:33 +0100 Subject: Drop edit lists --- flam3.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'flam3.c') diff --git a/flam3.c b/flam3.c index 641801d..bf0b124 100644 --- a/flam3.c +++ b/flam3.c @@ -1207,7 +1207,7 @@ char *flam3_print_to_string(flam3_genome *cp) { return (NULL); } } - flam3_print(tmpflame,cp,NULL,flam3_dont_print_edits); + flam3_print(tmpflame,cp,NULL); stringbytes = ftell(tmpflame); fseek(tmpflame,0L, SEEK_SET); genome_string = (char *)calloc(stringbytes+1,1); @@ -1223,7 +1223,7 @@ char *flam3_print_to_string(flam3_genome *cp) { } -void flam3_print(FILE *f, flam3_genome *cp, char *extra_attributes, int print_edits) { +void flam3_print(FILE *f, flam3_genome *cp, char *extra_attributes) { int i,numstd; // force use of "C" locale when writing reals. @@ -1322,13 +1322,6 @@ void flam3_print(FILE *f, flam3_genome *cp, char *extra_attributes, int print_ed } - if (cp->edits != NULL && print_edits==flam3_print_edits) { - - /* We need a custom script for printing these */ - /* and it needs to be recursive */ - xmlNodePtr elem_node = xmlDocGetRootElement(cp->edits); - flam3_edit_print(f,elem_node, 1, 1); - } fprintf(f, "\n"); if (locale != NULL) { -- cgit v1.2.3