Skip to content

Commit

Permalink
Merge branch 'master' into densenodes
Browse files Browse the repository at this point in the history
  • Loading branch information
zerebubuth committed Mar 5, 2014
2 parents 77e39f3 + 45f6074 commit 42b798f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xml_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,8 @@ void xml_writer::relations(const std::vector<relation> &rs,
if ((rm_itr->relation_id == r.id) && (rm_itr->version == r.version)) {
m_impl->begin("member");
const char *type =
(rm_itr->member_id == nwr_node) ? "node" :
(rm_itr->member_id == nwr_way) ? "way" :
(rm_itr->member_type == nwr_node) ? "node" :
(rm_itr->member_type == nwr_way) ? "way" :
"relation";

m_impl->attribute("type", type);
Expand Down

0 comments on commit 42b798f

Please sign in to comment.