summaryrefslogtreecommitdiff
path: root/plugins/Quotes/SettingsDlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Quotes/SettingsDlg.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/SettingsDlg.cpp')
-rw-r--r--plugins/Quotes/SettingsDlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/Quotes/SettingsDlg.cpp b/plugins/Quotes/SettingsDlg.cpp
index 6b5d73f5f4..e5795b51d1 100644
--- a/plugins/Quotes/SettingsDlg.cpp
+++ b/plugins/Quotes/SettingsDlg.cpp
@@ -399,7 +399,7 @@ namespace
if(BN_CLICKED == HIWORD(wp))
{
CSettingWindowParam* pParam = get_param(hWnd);
- if(!pParam->m_pPopupSettings)
+ if (!pParam->m_pPopupSettings)
{
CQuotesProviders::TQuotesProviderPtr pProvider = CModuleInfo::GetQuoteProvidersPtr()->GetContactProviderPtr(pParam->m_hContact);
@@ -447,7 +447,7 @@ namespace
tstring sLogFile = get_window_text(hwndLogFile);
tstring sLogFileFormat = get_window_text(hwndLogFileFrmt);
tstring sHistoryFormat = get_window_text(hwndHistoryFrmt);
- if((nLogMode&lmExternalFile))
+ if ((nLogMode&lmExternalFile))
{
if(true == sLogFile.empty())
{
@@ -463,7 +463,7 @@ namespace
}
}
- if((true == bOk) && (nLogMode&lmInternalHistory) && (true == sHistoryFormat.empty()))
+ if ((true == bOk) && (nLogMode&lmInternalHistory) && (true == sHistoryFormat.empty()))
{
prepare_edit_ctrl_for_error(hwndHistoryFrmt);
Quotes_MessageBox(hWnd,TranslateT("Enter history format."),MB_OK|MB_ICONERROR);
@@ -472,7 +472,7 @@ namespace
HWND hwndPopupFrmt = ::GetDlgItem(hWnd,IDC_EDIT_POPUP_FORMAT);
tstring sPopupFormat = get_window_text(hwndPopupFrmt);
- if((true == bOk) && (nLogMode&lmPopup) && (true == sPopupFormat.empty()))
+ if ((true == bOk) && (nLogMode&lmPopup) && (true == sPopupFormat.empty()))
{
prepare_edit_ctrl_for_error(hwndPopupFrmt);
Quotes_MessageBox(hWnd,TranslateT("Enter popup window format."),MB_OK|MB_ICONERROR);
@@ -624,7 +624,7 @@ namespace
tstring sLogFile = get_window_text(hwndLogFile);
tstring sLogFileFormat = get_window_text(hwndLogFileFrmt);
- if((nLogMode&lmExternalFile))
+ if ((nLogMode&lmExternalFile))
{
if(true == sLogFile.empty())
{
@@ -642,7 +642,7 @@ namespace
HWND hwndHistoryFrmt = ::GetDlgItem(hWnd,IDC_EDIT_HISTORY_FORMAT);
tstring sHistoryFormat = get_window_text(hwndHistoryFrmt);
- if((true == bOk) && (nLogMode&lmInternalHistory) && (true == sHistoryFormat.empty()))
+ if ((true == bOk) && (nLogMode&lmInternalHistory) && (true == sHistoryFormat.empty()))
{
prepare_edit_ctrl_for_error(hwndHistoryFrmt);
Quotes_MessageBox(hWnd,TranslateT("Enter history format."),MB_OK|MB_ICONERROR);
@@ -651,7 +651,7 @@ namespace
HWND hwndPopupFrmt = ::GetDlgItem(hWnd,IDC_EDIT_POPUP_FORMAT);
tstring sPopupFormat = get_window_text(hwndPopupFrmt);
- if((true == bOk) && (nLogMode&lmPopup) && (true == sPopupFormat.empty()))
+ if ((true == bOk) && (nLogMode&lmPopup) && (true == sPopupFormat.empty()))
{
prepare_edit_ctrl_for_error(hwndPopupFrmt);
Quotes_MessageBox(hWnd,TranslateT("Enter popup window format."),MB_OK|MB_ICONERROR);