summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-20 20:43:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-20 20:43:37 +0000
commit4005d927128d54c5ad9898fe018f1d1ea9a8a3fd (patch)
tree6345467163cbf2e81040397126e29d6088f52829 /src/modules
parent9d8f08e0c5809a1cfdee27c8063e64bd7f57b98b (diff)
forgotten ++
git-svn-id: http://svn.miranda-ng.org/main/trunk@9893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/database/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index 42c915b445..b1d0675469 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -257,7 +257,7 @@ static int getProfile1(TCHAR *szProfile, size_t cch, TCHAR *profiledir, BOOL * n
switch (touchDatabase(newProfile, NULL)) {
case 0:
- if (++found == 1 && nodprof)
+ if (found == 0 && nodprof)
_tcsncpy_s(szProfile, cch, newProfile, _TRUNCATE);
case EGROKPRF_OBSOLETE: