diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-06 13:58:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-06 13:58:20 +0000 |
commit | 46a53191c1ad11a41c948594e972568e62d155b4 (patch) | |
tree | 7e57e6f7093fb0de766fe13a933d2f9231433e4d /src/modules/database/database.cpp | |
parent | 1fe5acae909ea64a1de9ac9f58cae5a3c2d3ad1f (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@332 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r-- | src/modules/database/database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp index 904fea37b6..76685ac795 100644 --- a/src/modules/database/database.cpp +++ b/src/modules/database/database.cpp @@ -142,10 +142,10 @@ static int getProfileCmdLineArgs(TCHAR * szProfile, size_t cch) while(szCmdLine[0])
{
- if(szCmdLine[0]=='"')
+ if (szCmdLine[0] == '"')
{
szEndOfParam = _tcschr(szCmdLine+1, '"');
- if(szEndOfParam == NULL) break;
+ if (szEndOfParam == NULL) break;
lstrcpyn(szThisParam, szCmdLine+1, min(SIZEOF(szThisParam), szEndOfParam - szCmdLine));
szCmdLine = szEndOfParam + 1;
}
|