diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-19 19:29:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-19 19:29:23 +0000 |
commit | d87938b51d4c742c8deac1b7a263e8f766dfbf17 (patch) | |
tree | db8f0824b7d5ebb46fc6a67190afa52c9a67c966 /plugins/DbChecker/src/cleaning.cpp | |
parent | bc71dc491b0487d465fac290224c27a1240281bf (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9870 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/DbChecker/src/cleaning.cpp')
-rw-r--r-- | plugins/DbChecker/src/cleaning.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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);
|