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:
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r--platform/platform_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/platform_win.cpp b/platform/platform_win.cpp
index cd5e394a7e..b8e390209b 100644
--- a/platform/platform_win.cpp
+++ b/platform/platform_win.cpp
@@ -44,14 +44,14 @@ Platform::Platform()
// 1. try to use data folder in the same path as executable
// 2. if not found, try to use ..\..\..\data (for development only)
path.erase(path.find_last_of('\\'));
- if (IsFileExists(path + "\\data\\"))
+ if (IsFileExistsByFullPath(path + "\\data\\"))
m_resourcesDir = path + "\\data\\";
else
{
#ifndef OMIM_PRODUCTION
path.erase(path.find_last_of('\\'));
path.erase(path.find_last_of('\\'));
- if (IsFileExists(path + "\\data\\"))
+ if (IsFileExistsByFullPath(path + "\\data\\"))
m_resourcesDir = path + "\\data\\";
#else
CHECK(false, ("Can't find resources directory"));