diff options
author | George Hazan <george.hazan@gmail.com> | 2015-04-15 15:47:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-04-15 15:47:29 +0000 |
commit | a697754351436b6d0066b77b0fd71aeb8c45be3d (patch) | |
tree | c2821a76e17eb003fe14b82b91ccb8b88dbe3adc /protocols/Gadu-Gadu/src | |
parent | 2e3b0d5d40f1113887bd67e6ba227b780c4293cd (diff) |
after commit #12797 field OPTIONSDIALOGPAGE::cbSize became an atavism, and therefore removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@12840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/dialogs.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp index 420ab088fe..88d5a1cd30 100644 --- a/protocols/Gadu-Gadu/src/dialogs.cpp +++ b/protocols/Gadu-Gadu/src/dialogs.cpp @@ -153,7 +153,7 @@ static void SetValue(HWND hwndDlg, int idCtrl, MCONTACT hContact, char *szModule int GGPROTO::options_init(WPARAM wParam, LPARAM lParam) { - OPTIONSDIALOGPAGE odp = { sizeof(odp) }; + OPTIONSDIALOGPAGE odp = { 0 }; odp.flags = ODPF_TCHAR; odp.position = 1003000; odp.hInstance = hInstance; @@ -933,7 +933,7 @@ int GGPROTO::details_init(WPARAM wParam, LPARAM lParam) pszTemplate = MAKEINTRESOURCEA(IDD_INFO_GG); } - OPTIONSDIALOGPAGE odp = { sizeof(odp) }; + OPTIONSDIALOGPAGE odp = { 0 }; odp.flags = ODPF_DONTTRANSLATE | ODPF_TCHAR; odp.hInstance = hInstance; odp.pfnDlgProc = gg_detailsdlgproc; @@ -1025,13 +1025,13 @@ INT_PTR CALLBACK gg_acc_mgr_guidlgproc(HWND hwndDlg, UINT msg, WPARAM wParam, LP } } break; - case IDC_UIN:
+ case IDC_UIN: case IDC_PASSWORD: - case IDC_EMAIL:
- if (HIWORD(wParam) == EN_CHANGE && (HWND)lParam == GetFocus()) {
- SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0);
- break;
- }
+ case IDC_EMAIL: + if (HIWORD(wParam) == EN_CHANGE && (HWND)lParam == GetFocus()) { + SendMessage(GetParent(hwndDlg), PSM_CHANGED, 0, 0); + break; + } } break; |