From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/SettingsDlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/Quotes/SettingsDlg.cpp') 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); -- cgit v1.2.3