diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-04 09:43:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-04 09:43:26 +0000 |
commit | e88689f3d0032dddfb2c4ac8f65ba2a22a7de571 (patch) | |
tree | e64a9509569f4dd62d2d3a0ab421d5f72aa1275a /plugins/TabSRMM/src/msgoptions.cpp | |
parent | fed1940981d82c32e339c391b542ec29b165895b (diff) |
- code formatting;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@5574 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/msgoptions.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index ee81ad13c1..ca2427dc0a 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -893,9 +893,9 @@ static INT_PTR CALLBACK DlgProcTypeOptions(HWND hwndDlg, UINT msg, WPARAM wParam cii.cbSize = sizeof(cii);
cii.flags = CLCIIF_GROUPFONT | CLCIIF_CHECKBOX;
cii.pszText = TranslateT("** New contacts **");
- hItemNew = (HANDLE) SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_ADDINFOITEM, 0, (LPARAM)& cii);
+ hItemNew = (HANDLE) SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_ADDINFOITEM, 0, (LPARAM)&cii);
cii.pszText = TranslateT("** Unknown contacts **");
- hItemUnknown = (HANDLE) SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_ADDINFOITEM, 0, (LPARAM)& cii);
+ hItemUnknown = (HANDLE) SendDlgItemMessage(hwndDlg, IDC_CLIST, CLM_ADDINFOITEM, 0, (LPARAM)&cii);
}
SetWindowLongPtr(GetDlgItem(hwndDlg, IDC_CLIST), GWL_STYLE, GetWindowLongPtr(GetDlgItem(hwndDlg, IDC_CLIST), GWL_STYLE) | (CLS_SHOWHIDDEN));
ResetCList(hwndDlg);
@@ -1411,14 +1411,14 @@ DWORD OptCheckBox_LoadValue(struct OptCheckBox *cb) return cb->defValue;
}
-void OptCheckBox_Load(HWND hwnd, struct OptCheckBox *cb)
+void OptCheckBox_Load(HWND hwnd, OptCheckBox *cb)
{
DWORD value = OptCheckBox_LoadValue(cb);
if (cb->dwBit) value &= cb->dwBit;
CheckDlgButton(hwnd, cb->idc, value ? BST_CHECKED : BST_UNCHECKED);
}
-void OptCheckBox_Save(HWND hwnd, struct OptCheckBox *cb)
+void OptCheckBox_Save(HWND hwnd, OptCheckBox *cb)
{
DWORD value = IsDlgButtonChecked(hwnd, cb->idc) == BST_CHECKED;
@@ -1460,7 +1460,7 @@ void OptCheckBox_Save(HWND hwnd, struct OptCheckBox *cb) static INT_PTR CALLBACK DlgProcTabSrmmModernOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- struct OptCheckBox opts[] =
+ OptCheckBox opts[] =
{
//{IDC_, def, bit, dbtype, dbmodule, dbsetting, valtype, pval},
{IDC_CLOSEONESC, FALSE, 0, DBVT_BYTE, SRMSGMOD_T, "escmode"},
|