From b0ec1e2430b26d00a5d6a1baf49ff80d5a444e37 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Nov 2017 21:09:36 +0300 Subject: OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled --- protocols/Discord/src/options.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'protocols/Discord') 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"); -- cgit v1.2.3