diff options
author | George Hazan <george.hazan@gmail.com> | 2012-09-12 07:52:45 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-09-12 07:52:45 +0000 |
commit | c38384af887b82acdf2f8e46975cf61bf7c95cea (patch) | |
tree | b9bf84a09be0488b4614c56e7df643c49207ed12 /protocols | |
parent | 274cffbbffa950ddf286092b52f03f76ec61a301 (diff) |
fix for options' dialogs
git-svn-id: http://svn.miranda-ng.org/main/trunk@1565 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/MRA/MraFilesQueue.cpp | 1 | ||||
-rw-r--r-- | protocols/MRA/MraPopUp.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/protocols/MRA/MraFilesQueue.cpp b/protocols/MRA/MraFilesQueue.cpp index 5e12fee80f..67def10d64 100644 --- a/protocols/MRA/MraFilesQueue.cpp +++ b/protocols/MRA/MraFilesQueue.cpp @@ -82,6 +82,7 @@ INT_PTR CALLBACK MraFilesQueueDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, case WM_INITDIALOG:
TranslateDialogDefault(hWndDlg);
SetWindowLongPtr(hWndDlg, GWLP_USERDATA, lParam);
+ ppro = (CMraProto*)lParam;
{
WCHAR szBuff[MAX_PATH];
CHECK_DLG_BUTTON(hWndDlg, IDC_FILE_SEND_ENABLE_DIRECT_CONN, ppro->mraGetByte(NULL, "FileSendEnableDirectConn", MRA_DEF_FS_ENABLE_DIRECT_CONN));
diff --git a/protocols/MRA/MraPopUp.cpp b/protocols/MRA/MraPopUp.cpp index 9951776e82..af399eee9e 100644 --- a/protocols/MRA/MraPopUp.cpp +++ b/protocols/MRA/MraPopUp.cpp @@ -22,6 +22,7 @@ INT_PTR CALLBACK MraPopupDlgProcOpts(HWND hWndDlg, UINT msg, WPARAM wParam, LPAR case WM_INITDIALOG:
TranslateDialogDefault(hWndDlg);
SetWindowLongPtr(hWndDlg, GWLP_USERDATA, lParam);
+ ppro = (CMraProto*)lParam;
{
HWND hWndCombo = GetDlgItem(hWndDlg, IDC_COMBO_POPUP_TYPE);
SendMessage(hWndCombo, CB_RESETCONTENT, 0, 0);
|