diff --git a/coding/multilang_utf8_string.hpp b/coding/multilang_utf8_string.hpp index 7381f2b8dd..6a3bfb4ddc 100644 --- a/coding/multilang_utf8_string.hpp +++ b/coding/multilang_utf8_string.hpp @@ -14,7 +14,7 @@ template void WriteString(TSink & sink, string const & s) CHECK(!s.empty(), ()); size_t const sz = s.size(); - WriteVarUint(sink, static_cast(sz-1)); + WriteVarUint(sink, static_cast(sz - 1)); sink.Write(s.c_str(), sz); } diff --git a/editor/changeset_wrapper.cpp b/editor/changeset_wrapper.cpp index 4b9a6fc49a..e311d52506 100644 --- a/editor/changeset_wrapper.cpp +++ b/editor/changeset_wrapper.cpp @@ -19,7 +19,8 @@ namespace double ScoreLatLon(XMLFeature const & xmlFt, ms::LatLon const & latLon) { double constexpr eps = MercatorBounds::GetCellID2PointAbsEpsilon(); - return latLon.EqualDxDy(xmlFt.GetCenter(), eps); + // TODO: Find proper score values; + return latLon.EqualDxDy(xmlFt.GetCenter(), eps) ? 10 ? -10; } double ScoreNames(XMLFeature const & xmlFt, StringUtf8Multilang const & names)