From 9cf1444eb7888f2d942d220f938aa893396a8a1b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 18 Apr 2018 20:51:18 +0300 Subject: g_hInstance incapulated into PLUGIN<>, no need in the separate variable --- plugins/NewsAggregator/Src/Authentication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewsAggregator/Src/Authentication.cpp') diff --git a/plugins/NewsAggregator/Src/Authentication.cpp b/plugins/NewsAggregator/Src/Authentication.cpp index e656206e9f..c2dc409947 100644 --- a/plugins/NewsAggregator/Src/Authentication.cpp +++ b/plugins/NewsAggregator/Src/Authentication.cpp @@ -43,7 +43,7 @@ void CreateAuthString(char *auth, MCONTACT hContact, CFeedEditor *pDlg) } CAuthRequest::CAuthRequest(CFeedEditor *pDlg, MCONTACT hContact) - : CSuper(g_hInstance, IDD_AUTHENTICATION), + : CSuper(g_plugin.getInst(), IDD_AUTHENTICATION), m_feedname(this, IDC_FEEDNAME), m_username(this, IDC_FEEDUSERNAME), m_password(this, IDC_FEEDPASSWORD), m_ok(this, IDOK) { -- cgit v1.2.3