diff --git a/generator/relation_tags.cpp b/generator/relation_tags.cpp index 9de17c4f72..2099e06b0c 100644 --- a/generator/relation_tags.cpp +++ b/generator/relation_tags.cpp @@ -122,8 +122,8 @@ void RelationTagsWay::Process(RelationElement const & e) Base::AddCustomTag({"addr:street", p.second}); // All "name" tags should be skipped. - if (strings::StartsWith(p.first, "name") || p.first == "int_name" || p.first == "old_name" || - p.first == "alt_name") + if (strings::StartsWith(p.first, "name") || strings::StartsWith(p.first, "int_name") || + strings::StartsWith(p.first, "old_name") || strings::StartsWith(p.first, "alt_name")) { continue; }