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/Discord | |
parent | 500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff) |
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/options.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/Discord/src/options.cpp b/protocols/Discord/src/options.cpp index 057a9980e3..a929f132f7 100644 --- a/protocols/Discord/src/options.cpp +++ b/protocols/Discord/src/options.cpp @@ -69,7 +69,6 @@ INT_PTR CDiscordProto::SvcCreateAccMgrUI(WPARAM, LPARAM hwndParent) int CDiscordProto::OnOptionsInit(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { 0 }; - odp.hInstance = g_hInstance; odp.szTitle.w = m_tszUserName; odp.flags = ODPF_UNICODE; odp.szGroup.w = LPGENW("Network"); |