[transit] Fix stop title saving.

This commit is contained in:
tatiana-yan 2021-02-01 14:11:48 +03:00 committed by Olga Khlopkova
parent 83dded092c
commit 9535ee5d45

View file

@ -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())