diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /plugins/IEView | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView')
-rw-r--r-- | plugins/IEView/HTMLBuilder.cpp | 2 | ||||
-rw-r--r-- | plugins/IEView/Options.cpp | 2 | ||||
-rw-r--r-- | plugins/IEView/SRMMHTMLBuilder.cpp | 2 | ||||
-rw-r--r-- | plugins/IEView/TabSRMMHTMLBuilder.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/IEView/HTMLBuilder.cpp b/plugins/IEView/HTMLBuilder.cpp index 7c83609eea..9fa9e24824 100644 --- a/plugins/IEView/HTMLBuilder.cpp +++ b/plugins/IEView/HTMLBuilder.cpp @@ -258,7 +258,7 @@ wchar_t *HTMLBuilder::getContactName(HANDLE hContact, const char* szProto) { if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) & ci)) {
if (ci.type == CNFT_ASCIIZ) {
if (ci.pszVal) {
- if(!wcscmp((wchar_t *)ci.pszVal, TranslateW(L"'(Unknown Contact)'"))) {
+ if (!wcscmp((wchar_t *)ci.pszVal, TranslateW(L"'(Unknown Contact)'"))) {
ci.dwFlag &= ~CNF_UNICODE;
if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) & ci)) {
szName = Utils::convertToWCS((char *)ci.pszVal);
diff --git a/plugins/IEView/Options.cpp b/plugins/IEView/Options.cpp index afd577bf89..9ab5bfe63c 100644 --- a/plugins/IEView/Options.cpp +++ b/plugins/IEView/Options.cpp @@ -1689,7 +1689,7 @@ void Options::setEmbedsize(int size){ DBWriteContactSettingDword(NULL, ieviewModuleName, "Embedsize", (DWORD) size);
}
-int Options::getEmbedsize(){
+int Options::getEmbedsize() {
return DBGetContactSettingDword(NULL, ieviewModuleName, "Embedsize", 0);
}
diff --git a/plugins/IEView/SRMMHTMLBuilder.cpp b/plugins/IEView/SRMMHTMLBuilder.cpp index f142cf3028..303cae44e1 100644 --- a/plugins/IEView/SRMMHTMLBuilder.cpp +++ b/plugins/IEView/SRMMHTMLBuilder.cpp @@ -104,7 +104,7 @@ char *SRMMHTMLBuilder::timestampToString(DWORD dwFlags, time_t check) { dbtts.cbDest = 70;;
dbtts.szDest = str;
szResult[0] = '\0';
- if(!(dwFlags & SMF_LOG_SHOWDATES)) {
+ if (!(dwFlags & SMF_LOG_SHOWDATES)) {
dbtts.szFormat = (char *)"s";
}
else {
diff --git a/plugins/IEView/TabSRMMHTMLBuilder.cpp b/plugins/IEView/TabSRMMHTMLBuilder.cpp index 42bc5fc2c7..78d00177a8 100644 --- a/plugins/IEView/TabSRMMHTMLBuilder.cpp +++ b/plugins/IEView/TabSRMMHTMLBuilder.cpp @@ -168,7 +168,7 @@ char *TabSRMMHTMLBuilder::timestampToString(DWORD dwFlags, time_t check, int isG dbtts.cbDest = 70;;
dbtts.szDest = str;
- if(!isGroupBreak || !(dwFlags & MWF_LOG_SHOWDATES)) {
+ if (!isGroupBreak || !(dwFlags & MWF_LOG_SHOWDATES)) {
dbtts.szFormat = (dwFlags & MWF_LOG_SHOWSECONDS) ? (char *)"s" : (char *)"t";
szResult[0] = '\0';
}
|