diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-15 17:27:22 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:45 +0200 |
commit | de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1 (patch) | |
tree | e90a20142ee0c1206480c04a69761bb5c2f38879 /parser.c | |
parent | b1dc710474fd86eb3d5ff2a51edcbfcaf0c7301c (diff) | |
download | pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.gz pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.tar.bz2 pucket-de0a8d8ff492fe1ede5ae2b3bad3d3bf659934d1.zip |
Remove all uses of getenv
Not much functionality lost here. Move on.
Diffstat (limited to 'parser.c')
-rw-r--r-- | parser.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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) |