diff options
author | George Hazan <ghazan@miranda.im> | 2023-03-18 17:51:45 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-03-18 17:51:45 +0300 |
commit | 5dd6a8093a3390e52fbddf4ad099c076ebd897c7 (patch) | |
tree | a73d2d978435f179de78920fd3fd3153ab1e5f77 /plugins/TabSRMM/src | |
parent | 2f44c5207ebad98dbf8d8e5b5d5689f32b01f0dc (diff) |
fixes #3438 (tabSRMM: crash in highlight)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat.h | 5 | ||||
-rw-r--r-- | plugins/TabSRMM/src/chat_main.cpp | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/plugins/TabSRMM/src/chat.h b/plugins/TabSRMM/src/chat.h index 75ceea90cf..08a4bf6a8d 100644 --- a/plugins/TabSRMM/src/chat.h +++ b/plugins/TabSRMM/src/chat.h @@ -50,11 +50,6 @@ struct MODULEINFO : public GCModuleInfoBase wchar_t tszIdleMsg[60];
};
-struct SESSION_INFO : public GCSessionInfoBase
-{
- int iLogTrayFlags, iLogPopupFlags;
-};
-
struct LOGSTREAMDATA : public GCLogStreamDataBase
{
int crCount;
diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp index b398955f21..395a51a05e 100644 --- a/plugins/TabSRMM/src/chat_main.cpp +++ b/plugins/TabSRMM/src/chat_main.cpp @@ -353,7 +353,7 @@ int Chat_Load() CheckUpdate();
Utils::RTF_CTableInit();
- CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Message sessions") L"/" LPGENW("Group chats"), FONTMODE_ALTER, &g_plugin };
+ CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), LPGENW("Message sessions") L"/" LPGENW("Group chats"), FONTMODE_ALTER, &g_plugin };
Chat_CustomizeApi(&data);
g_chatApi.CreateNick = OnCreateNick;
|