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/mir_app | |
parent | 500da0fe0acbfad5ae0d7e5b8ad70622bf6d62cb (diff) |
OPTIONSDIALOGPAGE::hInstance is useless when pDialog is filled
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/lpopts.cpp | 1 | ||||
-rw-r--r-- | src/mir_app/src/srmm_toolbar.cpp | 1 |
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; |