Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortatiana-yan <tatiana.kondakova@gmail.com>2021-02-01 14:11:48 +0300
committerOlga Khlopkova <mesozoic.drones@gmail.com>2021-02-01 14:14:49 +0300
commit9535ee5d4510b8e78a12f264f6af4449024f21a6 (patch)
tree770df72d5b2233f2bd05ae590849cd7ac3f0069c
parent83dded092c7b5f5282ad925b9b2370e65be27d2b (diff)
[transit] Fix stop title saving.
-rw-r--r--transit/world_feed/world_feed.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/transit/world_feed/world_feed.cpp b/transit/world_feed/world_feed.cpp
index 65f86e12d0..2a385cb5d2 100644
--- a/transit/world_feed/world_feed.cpp
+++ b/transit/world_feed/world_feed.cpp
@@ -1548,7 +1548,7 @@ void Stops::Write(IdSet const & ids, std::ofstream & stream) const
json_object_set_new(node.get(), "point", PointToJson(stop.m_point).release());
- if (stop.m_title.empty())
+ if (!stop.m_title.empty())
ToJSONObject(*node, "title", stop.m_title);
if (!stop.m_timetable.empty())