aboutsummaryrefslogtreecommitdiff
path: root/xml.c
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-05-05 03:34:03 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-05-05 03:34:03 -0500
commit191cfcc5a83993d4ace4c06d5a5d1510b9aca23a (patch)
tree43fe2192d77406c2c3959f674b630f41d0c91dbe /xml.c
parent445d436d2bf5128e8fbad58fd690714af9b7b937 (diff)
flags closing tag fixed
Diffstat (limited to 'xml.c')
-rw-r--r--xml.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/xml.c b/xml.c
index 41d3edf..72c0eda 100644
--- a/xml.c
+++ b/xml.c
@@ -158,8 +158,12 @@ const char *whitespace_cb(mxml_node_t *node, int where)
return ("\n\t\t\t\t");
}
}
- else if (!strcmp(name, "flags") ||
- !strcmp(name, "ua2") ||
+ else if (!strcmp(name, "flags"))
+ {
+ if ((where == MXML_WS_BEFORE_OPEN))
+ return ("\n\t\t\t");
+ }
+ else if (!strcmp(name, "ua2") ||
!strcmp(name, "ua3") ||
!strcmp(name, "ua4") ||
!strcmp(name, "ua5") ||