diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-28 21:09:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-28 21:09:36 +0300 |
commit | b0ec1e2430b26d00a5d6a1baf49ff80d5a444e37 (patch) | |
tree | 1d957faa644f31a5181519d24bc94e2f21102468 /protocols/VKontakte/src/vk_options.cpp | |
parent | 500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff) |
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'protocols/VKontakte/src/vk_options.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_options.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_options.cpp b/protocols/VKontakte/src/vk_options.cpp index f79632158d..f6c44f235d 100644 --- a/protocols/VKontakte/src/vk_options.cpp +++ b/protocols/VKontakte/src/vk_options.cpp @@ -73,7 +73,6 @@ void CVkAccMgrForm::OnApply() int CVkProto::OnOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = hInst;
odp.szTitle.w = m_tszUserName;
odp.dwInitParam = LPARAM(this);
odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE | ODPF_DONTTRANSLATE;
@@ -103,7 +102,6 @@ int CVkProto::OnOptionsInit(WPARAM wParam, LPARAM) odp.position = 5;
odp.pDialog = new CVkOptionMenuForm(this);
Options_AddPage(wParam, &odp);
-
return 0;
}
|