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 --- src/core/stdmsg/src/chat_options.cpp | 1 - src/core/stdmsg/src/msgoptions.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/stdmsg/src/chat_options.cpp b/src/core/stdmsg/src/chat_options.cpp index d907977a32..cf248e67da 100644 --- a/src/core/stdmsg/src/chat_options.cpp +++ b/src/core/stdmsg/src/chat_options.cpp @@ -688,7 +688,6 @@ public: int ChatOptionsInitialize(WPARAM wParam) { OPTIONSDIALOGPAGE odp = {}; - odp.hInstance = g_hInst; odp.flags = ODPF_BOLDGROUPS; odp.szGroup.a = LPGEN("Message sessions"); odp.szTitle.a = LPGEN("Group chats"); diff --git a/src/core/stdmsg/src/msgoptions.cpp b/src/core/stdmsg/src/msgoptions.cpp index d00ca852a3..06536f5cd5 100644 --- a/src/core/stdmsg/src/msgoptions.cpp +++ b/src/core/stdmsg/src/msgoptions.cpp @@ -624,7 +624,6 @@ static int OptInitialise(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = {}; odp.position = 910000000; - odp.hInstance = g_hInst; odp.szTab.a = LPGEN("Messaging"); odp.flags = ODPF_BOLDGROUPS; -- cgit v1.2.3