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:
authorExMix <rahuba.youri@mapswithme.com>2014-04-24 13:53:54 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:15:03 +0300
commit83f5a5b5632167a7caaa55c33369f3223ffffcfa (patch)
tree50910c5707dadcb241b2edb8e7c4b2da25ccfce2 /map/bookmark.cpp
parentb8c4c80bfc893aeef4dc1afd1e9d70bcdc1e7fce (diff)
bookmarks will be place in the same location as settings.ini from this moment.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index 71fa1f5a7d..47dee82551 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -768,12 +768,12 @@ bool BookmarkCategory::SaveToKMLFile()
// If m_file doesn't match name, assign new m_file for this category and save old file name.
if (m_file.substr(i1, i2 - i1).find(name) != 0)
{
- oldFile = GenerateUniqueFileName(GetPlatform().WritableDir(), name);
+ oldFile = GenerateUniqueFileName(GetPlatform().SettingsDir(), name);
m_file.swap(oldFile);
}
}
else
- m_file = GenerateUniqueFileName(GetPlatform().WritableDir(), name);
+ m_file = GenerateUniqueFileName(GetPlatform().SettingsDir(), name);
string const fileTmp = m_file + ".tmp";