diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2016-03-29 18:34:54 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2016-03-29 18:34:54 +0000 |
commit | 7460f623d00f6119979688e5c4d788a8cdc0a478 (patch) | |
tree | 695d83cacb417d2e2675632c4ace252e1d21c9cd /protocols/MRA/src/MraPopUp.cpp | |
parent | 91fa723b31fd3cd885d7f3dec8bc9d7e01d3bd41 (diff) |
MRA: - minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@16562 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraPopUp.cpp')
-rw-r--r-- | protocols/MRA/src/MraPopUp.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/MRA/src/MraPopUp.cpp b/protocols/MRA/src/MraPopUp.cpp index 1665a6543c..48eb22e5bc 100644 --- a/protocols/MRA/src/MraPopUp.cpp +++ b/protocols/MRA/src/MraPopUp.cpp @@ -67,10 +67,8 @@ INT_PTR CALLBACK MraPopupDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, LPAR break;
case IDC_PREVIEW:
- {
- for (int i = 0; i < POPUPS_TYPES_COUNT; i++)
- ppro->MraPopupShowFromAgentW(i, 0, TranslateTS(lpcwszPopupsTypes[i]));
- }
+ for (int i = 0; i < POPUPS_TYPES_COUNT; i++)
+ ppro->MraPopupShowFromAgentW(i, 0, TranslateTS(lpcwszPopupsTypes[i]));
break;
case IDC_CHK_ENABLE:
@@ -84,6 +82,7 @@ INT_PTR CALLBACK MraPopupDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, LPAR EnableWindow(GetDlgItem(hWndDlg, IDC_POPUP_TEXTCOLOR), (bEnabled && bUseWinColors == FALSE));
EnableWindow(GetDlgItem(hWndDlg, IDC_POPUP_TIMEOUT), bEnabled);
}
+ // fall through
default:
if ((LOWORD(wParam) == IDC_POPUP_TIMEOUT) && (HIWORD(wParam) != EN_CHANGE || (HWND)lParam != GetFocus()))
return FALSE;
|