diff options
author | Yuri Gorshenin <y@maps.me> | 2015-07-23 14:14:03 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:57:17 +0300 |
commit | d38ea5aba203b2949cf52ae7da19ec92336b9409 (patch) | |
tree | 62e55d9779c23e51d47f31665653e516420d7be0 /platform | |
parent | b0af8afca79ef7b217a88e2309298bc6fa90e01d (diff) |
[platform] Fixed creation of temprorary local country files.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/local_country_file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/local_country_file.cpp b/platform/local_country_file.cpp index 80ba93904f..3b700b9a7a 100644 --- a/platform/local_country_file.cpp +++ b/platform/local_country_file.cpp @@ -107,7 +107,7 @@ LocalCountryFile LocalCountryFile::MakeTemporary(string const & fullPath) my::GetNameFromFullPath(name); my::GetNameWithoutExt(name); - return LocalCountryFile(GetPlatform().WritableDir(), CountryFile(name), 0 /* version */); + return LocalCountryFile(my::GetDirectory(fullPath), CountryFile(name), 0 /* version */); } |