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 /src/core | |
parent | 500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff) |
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/chat_options.cpp | 1 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgoptions.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
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;
|