From b1b5248eb9638d7501f16182aee2458f44765500 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 2 May 2021 13:32:41 +0300 Subject: tabSRMM: crash on clean profile --- plugins/TabSRMM/src/srmm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/srmm.cpp b/plugins/TabSRMM/src/srmm.cpp index fd910be91c..f680eca97e 100644 --- a/plugins/TabSRMM/src/srmm.cpp +++ b/plugins/TabSRMM/src/srmm.cpp @@ -52,10 +52,8 @@ PLUGININFOEX pluginInfoEx = { }; CMPlugin::CMPlugin() : - PLUGIN("SRMsg", pluginInfoEx), - hLogger(RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder)) -{ -} + PLUGIN("SRMsg", pluginInfoEx) +{} ///////////////////////////////////////////////////////////////////////////////////////// @@ -67,6 +65,8 @@ int CMPlugin::Load() { SystemParametersInfo(SPI_GETICONTITLELOGFONT, sizeof(lfDefault), &lfDefault, FALSE); + hLogger = RegisterSrmmLog("built-in", L"tabSRMM internal log", &logBuilder); + Chat_Load(); return LoadSendRecvMessageModule(); -- cgit v1.2.3