summaryrefslogtreecommitdiff
path: root/flam3.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-03-19 17:41:33 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:45 +0200
commit539286a9a5b7663dfba7849328998601816b6f14 (patch)
tree4b1aaf4cdc916088cb173f682a73fb969a8eebd3 /flam3.c
parent37fa88b599658ddbae712dd74bd08be4d47cdce1 (diff)
downloadpucket-539286a9a5b7663dfba7849328998601816b6f14.tar.gz
pucket-539286a9a5b7663dfba7849328998601816b6f14.tar.bz2
pucket-539286a9a5b7663dfba7849328998601816b6f14.zip
Drop edit lists
Diffstat (limited to 'flam3.c')
-rw-r--r--flam3.c11
1 files changed, 2 insertions, 9 deletions
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, "</flame>\n");
if (locale != NULL) {