diff options
author | vng <viktor.govako@gmail.com> | 2011-12-09 10:41:43 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:30:00 +0300 |
commit | db337aff595b414426a304a63b4caeed1f0b7b60 (patch) | |
tree | a2a63effac467fe420bfd6e01fc43e7214f2a8d9 /platform/platform_win.cpp | |
parent | 8839c1d4ba4a27286a74ff5e401b53fa37e4c174 (diff) |
[win32] Fix compilation.
Diffstat (limited to 'platform/platform_win.cpp')
-rw-r--r-- | platform/platform_win.cpp | 4 |
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")); |