summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-28 21:09:36 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-28 21:09:36 +0300
commitb0ec1e2430b26d00a5d6a1baf49ff80d5a444e37 (patch)
tree1d957faa644f31a5181519d24bc94e2f21102468 /protocols/Discord
parent500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff)
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/src/options.cpp1
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");