From b0782cc92dbcf328a47c7a702386723d15e56497 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 May 2015 22:15:11 +0000 Subject: some another sudden Unicode appearances git-svn-id: http://svn.miranda-ng.org/main/trunk@13457 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Xfire/src') diff --git a/protocols/Xfire/src/options.cpp b/protocols/Xfire/src/options.cpp index 1e5813467b..127f789b19 100644 --- a/protocols/Xfire/src/options.cpp +++ b/protocols/Xfire/src/options.cpp @@ -481,15 +481,15 @@ static INT_PTR CALLBACK DlgProcOpts3(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR break; case WM_NOTIFY: - { switch (((LPNMHDR)lParam)->idFrom) { case IDC_TREE: { switch (((NMHDR*)lParam)->code) { //wenn was geändert wurde, apply aktivieren - case TVN_SELCHANGEDA: + case TVN_SELCHANGED: SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); break; + case TVN_KEYDOWN: //tastatursteuerung { NMTVKEYDOWN* ptkd = (NMTVKEYDOWN*)lParam; @@ -512,7 +512,7 @@ static INT_PTR CALLBACK DlgProcOpts3(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR } } } - } + switch (((LPNMHDR)lParam)->code) { case PSN_APPLY: -- cgit v1.2.3