diff options
| author | megazig <megazig@megazig-desktop.(none)> | 2009-05-21 12:49:51 -0500 |
|---|---|---|
| committer | megazig <megazig@megazig-desktop.(none)> | 2009-05-21 12:49:51 -0500 |
| commit | 058ccdfb3e92195428d35e63bb161eb3034766d0 (patch) | |
| tree | a106d035b6e05c1a6d99473be71b97e0538c2a22 | |
| parent | 1274bc0971966a53a139fcc18d9c16d735d4f5fc (diff) | |
fixed whitespace
| -rw-r--r-- | xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ 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, "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") && strcmp(name, "subs") && strcmp(name, "font") && strcmp(name, "wnd4") && strcmp(name, "wnd4mat") && strcmp(name, "set") && strcmp(name, "coordinates"))) ){ + }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") && strcmp(name, "subs") && strcmp(name, "font") && strcmp(name, "wnd4") && strcmp(name, "wnd4mat") && strcmp(name, "set") && strcmp(name, "coordinates"))) ){ sprintf(xmlbuff, "\n%*s", (depth-1)*4, ""); }else{ return ""; |
