summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2019-08-08 20:03:13 +0200
committermvglasow <michael -at- vonglasow.com>2019-08-08 20:03:13 +0200
commit93483c117c357f092fb16f80372ab626f13483d1 (patch)
tree0b8ef1978dc3303e82828b55bb41eefbf5eb846e
parent2d6e70a5e7f70e5635419e8112a6fe9ce930b909 (diff)
downloadnavit-93483c117c357f092fb16f80372ab626f13483d1.tar.gz
Fix:traffic:Recognize tag stack as valid if it contains navit_items
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r--navit/traffic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/navit/traffic.c b/navit/traffic.c
index da4021190..37e2ee136 100644
--- a/navit/traffic.c
+++ b/navit/traffic.c
@@ -4540,7 +4540,8 @@ static int traffic_xml_is_tagstack_valid(struct xml_state * state) {
|| !g_ascii_strcasecmp(el->tag_name, "to")
|| !g_ascii_strcasecmp(el->tag_name, "at")
|| !g_ascii_strcasecmp(el->tag_name, "via")
- || !g_ascii_strcasecmp(el->tag_name, "not_via"))
+ || !g_ascii_strcasecmp(el->tag_name, "not_via")
+ || !g_ascii_strcasecmp(el->tag_name, "navit_items"))
ret = (el_parent && !g_ascii_strcasecmp(el_parent->tag_name, "location"));
else if (!g_ascii_strcasecmp(el->tag_name, "supplementary_info"))
ret = (el_parent && !g_ascii_strcasecmp(el_parent->tag_name, "event"));