summaryrefslogtreecommitdiff
path: root/plugins/DbChecker/src/finished.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-19 19:29:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-19 19:29:23 +0000
commitd87938b51d4c742c8deac1b7a263e8f766dfbf17 (patch)
treedb8f0824b7d5ebb46fc6a67190afa52c9a67c966 /plugins/DbChecker/src/finished.cpp
parentbc71dc491b0487d465fac290224c27a1240281bf (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/finished.cpp')
-rw-r--r--plugins/DbChecker/src/finished.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/DbChecker/src/finished.cpp b/plugins/DbChecker/src/finished.cpp
index a61fe24780..47b272860f 100644
--- a/plugins/DbChecker/src/finished.cpp
+++ b/plugins/DbChecker/src/finished.cpp
@@ -22,19 +22,19 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
INT_PTR CALLBACK FinishedDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
{
INT_PTR bReturn;
- if ( DoMyControlProcessing(hdlg, message, wParam, lParam, &bReturn))
+ if (DoMyControlProcessing(hdlg, message, wParam, lParam, &bReturn))
return bReturn;
- switch(message) {
+ switch (message) {
case WM_INITDIALOG:
EnableWindow(GetDlgItem(GetParent(hdlg), IDC_BACK), FALSE);
EnableWindow(GetDlgItem(GetParent(hdlg), IDOK), FALSE);
SetDlgItemText(GetParent(hdlg), IDCANCEL, TranslateT("&Finish"));
- SetWindowLongPtr(GetDlgItem(hdlg, IDC_DBFILE), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hdlg, IDC_DBFILE), GWL_STYLE)|SS_PATHELLIPSIS);
+ SetWindowLongPtr(GetDlgItem(hdlg, IDC_DBFILE), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hdlg, IDC_DBFILE), GWL_STYLE) | SS_PATHELLIPSIS);
SetDlgItemText(hdlg, IDC_DBFILE, opts.filename);
if (opts.bBackup) {
ShowWindow(GetDlgItem(hdlg, IDC_STBACKUP), TRUE);
- SetWindowLongPtr(GetDlgItem(hdlg, IDC_BACKUPFILE), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hdlg, IDC_BACKUPFILE), GWL_STYLE)|SS_PATHELLIPSIS);
+ SetWindowLongPtr(GetDlgItem(hdlg, IDC_BACKUPFILE), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hdlg, IDC_BACKUPFILE), GWL_STYLE) | SS_PATHELLIPSIS);
SetDlgItemText(hdlg, IDC_BACKUPFILE, opts.backupFilename);
}
else ShowWindow(GetDlgItem(hdlg, IDC_STBACKUP), FALSE);
@@ -44,7 +44,7 @@ INT_PTR CALLBACK FinishedDlgProc(HWND hdlg, UINT message, WPARAM wParam, LPARAM
case WZN_CANCELCLICKED:
bLaunchMiranda = IsDlgButtonChecked(hdlg, IDC_LAUNCHMIRANDA) == BST_CHECKED;
CallService(MS_DB_SETDEFAULTPROFILE, (WPARAM)opts.filename, 0);
- EndDialog( GetParent(hdlg), 1);
+ EndDialog(GetParent(hdlg), 1);
return TRUE;
}
return FALSE;