From d87938b51d4c742c8deac1b7a263e8f766dfbf17 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 19 Jul 2014 19:29:23 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@9870 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/DbChecker/src/cleaning.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'plugins/DbChecker/src/cleaning.cpp') diff --git a/plugins/DbChecker/src/cleaning.cpp b/plugins/DbChecker/src/cleaning.cpp index b40bdb7244..cf8d4947bc 100644 --- a/plugins/DbChecker/src/cleaning.cpp +++ b/plugins/DbChecker/src/cleaning.cpp @@ -16,6 +16,7 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + #include "dbchecker.h" INT_PTR CALLBACK CleaningDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam) @@ -24,7 +25,7 @@ INT_PTR CALLBACK CleaningDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM if (DoMyControlProcessing(hdlg, message, wParam, lParam, &bReturn)) return bReturn; - switch(message) { + switch (message) { case WM_INITDIALOG: CheckDlgButton(hdlg, IDC_ERASEHISTORY, opts.bEraseHistory); EnableWindow(GetDlgItem(hdlg, IDC_ERASEHISTORY), !opts.bAggressive); @@ -34,13 +35,13 @@ INT_PTR CALLBACK CleaningDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM return TRUE; case WZN_PAGECHANGING: - opts.bEraseHistory = IsDlgButtonChecked(hdlg, IDC_ERASEHISTORY)&&!opts.bAggressive; + opts.bEraseHistory = IsDlgButtonChecked(hdlg, IDC_ERASEHISTORY) && !opts.bAggressive; opts.bMarkRead = IsDlgButtonChecked(hdlg, IDC_MARKREAD); opts.bConvertUtf = IsDlgButtonChecked(hdlg, IDC_CONVERTUTF); break; case WM_COMMAND: - switch(LOWORD(wParam)) { + switch (LOWORD(wParam)) { case IDC_BACK: if (opts.bCheckOnly) PostMessage(GetParent(hdlg), WZM_GOTOPAGE, IDD_SELECTDB, (LPARAM)SelectDbDlgProc); -- cgit v1.2.3