diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2021-02-01 14:11:48 +0300 |
---|---|---|
committer | Olga Khlopkova <mesozoic.drones@gmail.com> | 2021-02-01 14:14:49 +0300 |
commit | 9535ee5d4510b8e78a12f264f6af4449024f21a6 (patch) | |
tree | 770df72d5b2233f2bd05ae590849cd7ac3f0069c | |
parent | 83dded092c7b5f5282ad925b9b2370e65be27d2b (diff) |
[transit] Fix stop title saving.
-rw-r--r-- | transit/world_feed/world_feed.cpp | 2 |
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()) |