summaryrefslogtreecommitdiff
path: root/plugins/Variables/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-30 17:02:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-30 17:02:05 +0000
commit12053939f5b0c757a2b099e90fc0b7371e8817e1 (patch)
tree6f56986b035edee5262e8d0cf142fcbc9a35a687 /plugins/Variables/options.cpp
parent13062331be32832680c4dd429d39648f6c8512ed (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/options.cpp')
-rw-r--r--plugins/Variables/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Variables/options.cpp b/plugins/Variables/options.cpp
index 22743d0ab5..3ccbbd987f 100644
--- a/plugins/Variables/options.cpp
+++ b/plugins/Variables/options.cpp
@@ -29,7 +29,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
TranslateDialogDefault(hwndDlg);
{
DBVARIANT dbv;
- if ( !DBGetContactSettingTString( NULL, MODULENAME, SETTING_STARTUPTEXT, &dbv )) {
+ if (!DBGetContactSettingTString( NULL, MODULENAME, SETTING_STARTUPTEXT, &dbv )) {
SetDlgItemText(hwndDlg, IDC_FORMATTEXT, dbv.ptszVal);
DBFreeVariant(&dbv);
}
@@ -44,7 +44,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
break;
case WM_COMMAND:
- if ( (HIWORD(wParam) == EN_CHANGE) || (HIWORD(wParam) == BN_CLICKED)) {
+ if ((HIWORD(wParam) == EN_CHANGE) || (HIWORD(wParam) == BN_CLICKED)) {
switch (LOWORD(wParam)) {
case IDC_PARSEATSTARTUP:
case IDC_STRIPCRLF:
@@ -57,7 +57,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
gParseOpts.bStripAll = IsDlgButtonChecked(hwndDlg, IDC_STRIPALL);
break;
}
- if ( LOWORD(wParam) == IDC_FORMATTEXT && IsDlgButtonChecked( hwndDlg, IDC_AUTOPARSE ))
+ if (LOWORD(wParam) == IDC_FORMATTEXT && IsDlgButtonChecked( hwndDlg, IDC_AUTOPARSE ))
SendMessage(hwndDlg, VARM_PARSE, 0, 0);
}
switch (LOWORD(wParam)) {
@@ -67,7 +67,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
case IDC_AUTOPARSE:
SendMessage(hwndDlg, VARM_PARSE, 0, 0);
- if ( IsDlgButtonChecked( hwndDlg, IDC_AUTOPARSE ))
+ if (IsDlgButtonChecked( hwndDlg, IDC_AUTOPARSE ))
SetTimer(hwndDlg, IDT_PARSE, 1000, NULL);
else
KillTimer(hwndDlg, IDT_PARSE);