summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 12:17:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 12:17:38 +0000
commit2157d2150b07ed5ab9ac90cc0b2a9106c1ecf858 (patch)
treefdc0a79c8dc8020aea6af7b3d7835d57b65d452f
parentb79ca8afda46bb63357bf07dc6dad37f1d8388d4 (diff)
the default profile's name should not be corrupted
git-svn-id: http://svn.miranda-ng.org/main/trunk@10475 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/database/database.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index e3d140e3c6..41b2b105ae 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -308,11 +308,6 @@ static int getProfile(TCHAR *szProfile, size_t cch)
getProfileCmdLine(szProfile, cch, g_profileDir);
getProfileDefault(szProfile, cch, g_profileDir);
- // if default profile was found, verify it
- if (*szProfile)
- if (touchDatabase(szProfile, 0) != 0)
- *szProfile = 0;
-
if (IsInsideRootDir(g_profileDir, true)) {
MessageBox(NULL,
TranslateT("Profile cannot be placed into Miranda root folder.\nPlease move Miranda profile to some other location."),