summaryrefslogtreecommitdiff
path: root/src/modules/database/database.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-16 08:21:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-16 08:21:13 +0000
commitf907a78441c0540ba16a1bda82c883bb1eca237a (patch)
treeff0ab67c68b95e0820bbc19419492b01a92e91a7 /src/modules/database/database.cpp
parent58b6deafb08a2213936df9ab71ae69f28f62e41d (diff)
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r--src/modules/database/database.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index a1c4514092..1a7f10395f 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -132,7 +132,7 @@ static void getDefaultProfile(TCHAR *szProfile, size_t cch, TCHAR *profiledir)
// returns 1 if something that looks like a profile is there
static void loadProfileByShortName(const TCHAR* src, TCHAR *szProfile, size_t cch, TCHAR *profiledir)
-{
+{
TCHAR buf[MAX_PATH];
_tcsncpy(buf, src, SIZEOF(buf));
@@ -263,8 +263,7 @@ static int getProfile1(TCHAR *szProfile, size_t cch, TCHAR *profiledir, BOOL * n
if (++found == 1 && nodprof)
_tcscpy(szProfile, newProfile);
}
- }
- while (FindNextFile(hFind, &ffd));
+ } while (FindNextFile(hFind, &ffd));
FindClose(hFind);
}
@@ -523,8 +522,7 @@ int LoadDatabaseModule(void)
retry = MessageBox(0, buf, TranslateT("Miranda can't open that profile"), MB_RETRYCANCEL | MB_ICONERROR) == IDRETRY;
}
}
- }
- while (retry);
+ } while (retry);
if (rc == ERROR_SUCCESS) {
InitIni();