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:
authorIlya Zverev <zverik@textual.ru>2017-07-25 16:55:34 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2017-07-26 12:09:22 +0300
commit7d445ac8955d5f5d39d38ca3ac0f66617830f39f (patch)
treee21ab93cfa149a64f0cee4e8fac9dd9cdc3f167c /platform
parentafeb4e64650c61f3dbf765f95f0b522cf46e5f0d (diff)
[platform] Fix resource path searching for debug start
Diffstat (limited to 'platform')
-rw-r--r--platform/platform_mac.mm3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/platform_mac.mm b/platform/platform_mac.mm
index 1a0c43b229..6a92e0c4a6 100644
--- a/platform/platform_mac.mm
+++ b/platform/platform_mac.mm
@@ -56,9 +56,7 @@ Platform::Platform()
}
else
{
-#ifdef STANDALONE_APP
m_resourcesDir = resourcesPath + "/";
-#else // STANDALONE_APP
// get writable path
// developers can have symlink to data folder
char const * dataPath = "../../../../../data/";
@@ -77,7 +75,6 @@ Platform::Platform()
m_writableDir = m_resourcesDir.substr(0, p) + "/omim/data/";
}
}
-#endif // STANDALONE_APP
if (m_writableDir.empty())
{