From 5dd6a8093a3390e52fbddf4ad099c076ebd897c7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 18 Mar 2023 17:51:45 +0300 Subject: fixes #3438 (tabSRMM: crash in highlight) --- src/core/stdmsg/src/chat_manager.cpp | 2 +- src/core/stdmsg/src/stdafx.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index b461b91703..d3e0da1969 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -208,7 +208,7 @@ void Load_ChatModule() AddIcons(); RegisterFonts(); - CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Message sessions") L"/" LPGENW("Chat module"), FONTMODE_USE, &g_plugin }; + CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), LPGENW("Message sessions") L"/" LPGENW("Chat module"), FONTMODE_USE, &g_plugin }; Chat_CustomizeApi(&data); g_chatApi.MM_CreateModule = MM_CreateModule; diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index 33d557a6a9..8a8633954b 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -128,7 +128,6 @@ CTabbedWindow *GetContainer(); ///////////////////////////////////////////////////////////////////////////////////////// struct MODULEINFO : public GCModuleInfoBase {}; -struct SESSION_INFO : public GCSessionInfoBase {}; struct LOGSTREAMDATA : public GCLogStreamDataBase {}; #include "cmdlist.h" -- cgit v1.2.3