From 81ccc3118d53a2e09e64ce4b750cf9dd7cbc9b5a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Jan 2022 20:19:23 +0300 Subject: =?UTF-8?q?fixes=20#3016=20(=D0=9D=D0=B0=D0=B7=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=B6=D1=83=D1=80=D0=BD=D0=B0=D0=BB=D0=BE=D0=B2?= =?UTF-8?q?=20=D1=82=D0=B0=D0=BA=20=D0=B8=20=D0=BD=D0=B5=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B2=D0=BE=D0=B4=D1=8F=D1=82=D1=81=D1=8F)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/IEView/src/ieview_main.cpp | 2 +- plugins/NewStory/src/main.cpp | 2 +- plugins/Scriver/src/srmm.cpp | 2 +- plugins/TabSRMM/src/srmm.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/IEView/src/ieview_main.cpp b/plugins/IEView/src/ieview_main.cpp index c5ae7c3dca..a1baed139c 100644 --- a/plugins/IEView/src/ieview_main.cpp +++ b/plugins/IEView/src/ieview_main.cpp @@ -94,7 +94,7 @@ int CMPlugin::Load() workingDirUtf8 = mir_utf8encodeW(workingDir); delete[] workingDir; - hLogger = RegisterSrmmLog("ieview", L"IEView", &logBuilder); + hLogger = RegisterSrmmLog(this, "ieview", L"IEView", &logBuilder); HookEvent(ME_OPT_INITIALISE, IEViewOptInit); HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded); diff --git a/plugins/NewStory/src/main.cpp b/plugins/NewStory/src/main.cpp index d86fce7cfb..cfde3a75d8 100644 --- a/plugins/NewStory/src/main.cpp +++ b/plugins/NewStory/src/main.cpp @@ -96,7 +96,7 @@ int CMPlugin::Load() bDrawEdge = g_bOptDrawEdge; bMsgGrouping = g_bOptGrouping; - m_log = RegisterSrmmLog(MODULETITLE, _T(MODULENAME), NewStory_Stub); + m_log = RegisterSrmmLog(this, MODULETITLE, _T(MODULENAME), NewStory_Stub); HookEvent(ME_OPT_INITIALISE, OptionsInitialize); HookEvent(ME_SYSTEM_MODULESLOADED, evtModulesLoaded); diff --git a/plugins/Scriver/src/srmm.cpp b/plugins/Scriver/src/srmm.cpp index 7d60777049..c273300572 100644 --- a/plugins/Scriver/src/srmm.cpp +++ b/plugins/Scriver/src/srmm.cpp @@ -124,7 +124,7 @@ int CMPlugin::Load() if (IsWinVer7Plus()) CoCreateInstance(CLSID_TaskbarList, nullptr, CLSCTX_ALL, IID_ITaskbarList3, (void**)&pTaskbarInterface); - hLogger = RegisterSrmmLog("built-in", LPGENW("Scriver internal log"), &logBuilder); + hLogger = RegisterSrmmLog(this, "built-in", LPGENW("Scriver internal log"), &logBuilder); switch (getByte("UseIEView", -1)) { case 1: diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp index 6d7dfa9114..c906c220c1 100644 --- a/plugins/TabSRMM/src/srmm.cpp +++ b/plugins/TabSRMM/src/srmm.cpp @@ -65,7 +65,7 @@ int CMPlugin::Load() { SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE); - hLogger = RegisterSrmmLog("built-in", LPGENW("tabSRMM internal log"), &logBuilder); + hLogger = RegisterSrmmLog(this, "built-in", LPGENW("tabSRMM internal log"), &logBuilder); Chat_Load(); -- cgit v1.2.3