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:
authorYuri Gorshenin <y@maps.me>2015-02-03 17:38:37 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:37:04 +0300
commita8ce8181d744420f1230c2d6f372dfd1ffda7434 (patch)
tree18e91c1ad897176164c886d1c1b0274d44c72363 /map/bookmark.cpp
parent94feed33e0802f1a0dd1804c4eb32fb4e520ed0f (diff)
Revert "Merge pull request #224 from gorshenin/fixed-bookmarks-order"
This reverts commit 52cf31897f2b3d3f48e46ecb7ef155180f605004, reversing changes made to 7be1c7d93f09cd70963815b5289d28e8a8102437.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index 82f1f422b1..f42292aff2 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -705,8 +705,7 @@ void BookmarkCategory::SaveToKML(ostream & s)
for (size_t i = 0; i < GetBookmarksCount(); ++i)
{
- const size_t ix = GetBookmarksCount() - i - 1;
- Bookmark const * bm = GetBookmark(ix);
+ Bookmark const * bm = GetBookmark(i);
s << " <Placemark>\n";
s << " <name>";
SaveStringWithCDATA(s, bm->GetName());