From c82c64eb9f9bc882549c3b4520a76e9643c6a071 Mon Sep 17 00:00:00 2001 From: megazig Date: Thu, 7 May 2009 05:49:52 -0500 Subject: xmlan back to perfect --- xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xml.c') diff --git a/xml.c b/xml.c index 18578c5..162a02f 100644 --- a/xml.c +++ b/xml.c @@ -81,7 +81,7 @@ const char *whitespace_cb(mxml_node_t *node, int where) } if (where == 3 || where == 1){ sprintf(xmlbuff, ""); - }else if((node->prev && where == 0 || node->parent) && !(where == 2 && strncmp(name, "ua", 2) && strcmp(name, "flip") && strcmp(name, "zoom") && strcmp(name, "coords") && strcmp(name, "entries") && strcmp(name, "xmlyt") && strcmp(name, "xmlan") && strcmp(name, "entries") && strcmp(name, "triplet") && strcmp(name, "entry") && strcmp(name, "pane") && (strcmp(name, "tag") && strcmp(name, "size") && strcmp(name, "material") && strcmp(name, "colors"))) ){ + }else if((node->prev && where == 0 || node->parent) && !(where == 2 && strncmp(name, "ua", 2) && strcmp(name, "flip") && strcmp(name, "zoom") && strcmp(name, "coords") && strcmp(name, "entries") && strcmp(name, "xmlyt") && strcmp(name, "xmlan") && strcmp(name, "entries") && strcmp(name, "triplet") && strcmp(name, "pair") && strcmp(name, "entry") && strcmp(name, "pane") && (strcmp(name, "tag") && strcmp(name, "size") && strcmp(name, "material") && strcmp(name, "colors"))) ){ sprintf(xmlbuff, "\n%*s", (depth-1)*4, ""); }else{ sprintf(xmlbuff, ""); -- cgit v1.3.1