diff options
Diffstat (limited to 'plugins/FileAsMessage/src/optionsdlg.cpp')
-rw-r--r-- | plugins/FileAsMessage/src/optionsdlg.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/FileAsMessage/src/optionsdlg.cpp b/plugins/FileAsMessage/src/optionsdlg.cpp index d8b34e5e38..519e5287ee 100644 --- a/plugins/FileAsMessage/src/optionsdlg.cpp +++ b/plugins/FileAsMessage/src/optionsdlg.cpp @@ -40,7 +40,6 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l switch (uMsg)
{
case WM_INITDIALOG:
- {
TranslateDialogDefault(hwndDlg);
for (int indx = 0; indx < _countof(settingId); indx++)
@@ -53,9 +52,7 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l return TRUE;
- }
case WM_COMMAND:
- {
if (//MAKEWPARAM(IDC_AUTO, BN_CLICKED) != wParam ||
MAKEWPARAM(IDC_ALPHANUM, BN_CLICKED) != wParam)
{
@@ -77,12 +74,11 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l }
SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
break;
- }
+
case WM_DESTROY:
return FALSE;
case WM_NOTIFY:
- {
if ((((NMHDR*)lParam)->idFrom == 0) && (((LPNMHDR)lParam)->code == PSN_APPLY))
{
int value;
@@ -106,7 +102,5 @@ INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM l break;
}
- }
-
return FALSE;
}
|