aboutsummaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2009-09-21 11:46:10 +1200
committerMatthew Parlane <parlane@gmail.com>2009-09-21 11:46:10 +1200
commit22c2b66224dca6af8be9ae87218822fb9c7cc475 (patch)
tree16521813317fe28809b0df186dfa34265bfa4d04 /xml.c
parent3af6f9431232ced52faabb1a0019ff968d9483af (diff)
parentb90c5b2caa56f34afb63f6376204bd5d95a84b89 (diff)
Merge branch 'master' of github.com:SquidMan/benzin
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xml.c b/xml.c
index bb0e067..062d5c1 100644
--- a/xml.c
+++ b/xml.c
@@ -92,8 +92,6 @@ const char *whitespace_cb(mxml_node_t *node, int where)
if (where == 3 || where == 1){
return "";
}else if(((node->prev && where == 0) || node->parent) && !(where == 2 && strncmp(name, "ua", 2) && strcmp(name, "rotate") && strcmp(name, "scale") && strcmp(name, "translate") && 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, "vtx") && strcmp(name, "colors") && strcmp(name, "subs") && strcmp(name, "font") && strcmp(name, "wnd4") && strcmp(name, "wnd4mat") && strcmp(name, "set") && strcmp(name, "coordinates") && strcmp(name, "TevStage") && strcmp(name, "texture") && strcmp(name, "TextureSRT") && strcmp(name, "CoordGen") && strcmp(name, "ChanControl") && strcmp(name, "MaterialColor") && strcmp(name, "TevSwapModeTable") && strcmp(name, "IndTextureSRT") && strcmp(name, "IndTextureOrder") && strcmp(name, "AlphaCompare") && strcmp(name, "BlendMode") )) ){
- //sprintf(xmlbuff, "\n%*s", (depth-1)*4 , "");
- //sprintf(xmlbuff, "\n%*s", (depth)*4 , "\t");
sprintf( xmlbuff , "\n%s" , tab_buffer );
}else{
return "";