summaryrefslogtreecommitdiff
path: root/src/mir_app
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 /src/mir_app
parent500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff)
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/lpopts.cpp1
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mir_app/src/lpopts.cpp b/src/mir_app/src/lpopts.cpp
index 85cb5468a9..2811097104 100644
--- a/src/mir_app/src/lpopts.cpp
+++ b/src/mir_app/src/lpopts.cpp
@@ -271,7 +271,6 @@ void CLangpackDlg::OnDestroy()
int LangpackOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
- odp.hInstance = g_hInst;
odp.position = -1300000000;
odp.szTitle.a = LPGEN("Languages");
odp.szGroup.a = LPGEN("Customize");
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index 90db284edb..afe9715e04 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -791,7 +791,6 @@ static int SrmmOptionsInit(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 910000000;
- odp.hInstance = g_hInst;
odp.szGroup.a = LPGEN("Message sessions");
odp.szTitle.a = LPGEN("Toolbar");
odp.flags = ODPF_BOLDGROUPS;