summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/src/optionsdlg.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2016-07-31 15:48:04 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2016-07-31 15:48:04 +0000
commit4adf822c903129add28d67ede452c7814bfdee4e (patch)
treef627a72c9c220b412ac40e3397ef6e238eac7978 /plugins/FileAsMessage/src/optionsdlg.cpp
parentb0563aa067e81f3069d2718bbf5e5d3853bbb058 (diff)
FileAsMessage: - Fixed unicode conversion
git-svn-id: http://svn.miranda-ng.org/main/trunk@17149 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FileAsMessage/src/optionsdlg.cpp')
-rw-r--r--plugins/FileAsMessage/src/optionsdlg.cpp8
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;
}