summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/containeroptions.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-21 21:21:12 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-21 21:21:12 +0000
commit114a5c2d6410f7506ec4f37850d8437fe0b79ef8 (patch)
treedbabc7d5e37af33283fa0a890706001fdd240563 /plugins/TabSRMM/src/containeroptions.cpp
parentb0ece7429ec7cc236e3aba99e27919fc5ae437ba (diff)
one check is generally enough
git-svn-id: http://svn.miranda-ng.org/main/trunk@522 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/containeroptions.cpp')
-rw-r--r--plugins/TabSRMM/src/containeroptions.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/containeroptions.cpp b/plugins/TabSRMM/src/containeroptions.cpp
index f3b8aee90d..f1a2545a5b 100644
--- a/plugins/TabSRMM/src/containeroptions.cpp
+++ b/plugins/TabSRMM/src/containeroptions.cpp
@@ -270,12 +270,12 @@ INT_PTR CALLBACK DlgProcContainerOptions(HWND hwndDlg, UINT msg, WPARAM wParam,
ShowPage(hwndDlg, pmtv->itemNew.lParam, 1);
}
break;
+
case WM_HSCROLL:
- if((HWND)lParam == GetDlgItem(hwndDlg, IDC_TRANSPARENCY_ACTIVE) || (HWND)lParam == GetDlgItem(hwndDlg, IDC_TRANSPARENCY_ACTIVE))
- {
+ if((HWND)lParam == GetDlgItem(hwndDlg, IDC_TRANSPARENCY_ACTIVE))
Utils::enableDlgControl(hwndDlg, IDC_APPLY, TRUE);
- }
break;
+
case WM_COMMAND:
switch (LOWORD(wParam)) {
case IDC_CNTPRIVATE: {