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/mir_app/src/lpopts.cpp | 1 - src/mir_app/src/srmm_toolbar.cpp | 1 - 2 files changed, 2 deletions(-) (limited to 'src/mir_app') 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; -- cgit v1.2.3