summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/parser.c b/parser.c
index d27bbe1..ee1aa18 100644
--- a/parser.c
+++ b/parser.c
@@ -1247,14 +1247,9 @@ void flam3_edit_print(FILE *f, xmlNodePtr editNode, int tabs, int formatting) {
xmlAttrPtr att_ptr=NULL,cur_att=NULL;
xmlNodePtr chld_ptr=NULL, cur_chld=NULL;
int indent_printed = 0;
- char *ai;
- int tablim = argi("print_edit_depth",0);
char *att_str,*cont_str,*cpy_string;
- if (tablim>0 && tabs>tablim)
- return;
-
/* If this node is an XML_ELEMENT_NODE, print it and it's attributes */
if (editNode->type==XML_ELEMENT_NODE) {
@@ -1283,7 +1278,7 @@ void flam3_edit_print(FILE *f, xmlNodePtr editNode, int tabs, int formatting) {
}
/* Does this node have children? */
- if (!editNode->children || (tablim>0 && tabs>tablim)) {
+ if (!editNode->children) {
/* Close the tag and subtract the tab */
fprintf(f,"/>");
if (formatting)