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:
authorvng <viktor.govako@gmail.com>2013-03-25 20:18:35 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:52:22 +0300
commit85fc90ca1ed5c839339699504e16ce07e96e40ea (patch)
tree74e2cff1f2488f63bed44d6625ad8f25d80c2acc /map/bookmark.cpp
parent75dc74ae2ff2960828c0aa9226df1243aea5158c (diff)
[android] Move kml files when changing storage path.
Diffstat (limited to 'map/bookmark.cpp')
-rw-r--r--map/bookmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/bookmark.cpp b/map/bookmark.cpp
index ae6898dee0..3ed8885e13 100644
--- a/map/bookmark.cpp
+++ b/map/bookmark.cpp
@@ -456,7 +456,7 @@ string BookmarkCategory::RemoveInvalidSymbols(string const & name)
string BookmarkCategory::GenerateUniqueFileName(const string & path, string name)
{
- string const kmlExt(".kml");
+ string const kmlExt(BOOKMARKS_FILE_EXTENSION);
// check if file name already contains .kml extension
size_t const extPos = name.rfind(kmlExt);