summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-18 17:51:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-18 17:51:45 +0300
commit5dd6a8093a3390e52fbddf4ad099c076ebd897c7 (patch)
treea73d2d978435f179de78920fd3fd3153ab1e5f77 /include
parent2f44c5207ebad98dbf8d8e5b5d5689f32b01f0dc (diff)
fixes #3438 (tabSRMM: crash in highlight)
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index a2b9c98587..8d5fa8a393 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -132,10 +132,10 @@ struct STATUSINFO
STATUSINFO *next;
};
-struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopyable
+struct MIR_APP_EXPORT SESSION_INFO : public MZeroedObject, public MNonCopyable
{
- GCSessionInfoBase();
- ~GCSessionInfoBase();
+ SESSION_INFO();
+ ~SESSION_INFO();
MCONTACT hContact;
@@ -154,6 +154,7 @@ struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopya
int iType;
int iEventCount;
int iStatusCount;
+ int iLogTrayFlags, iLogPopupFlags;
uint16_t wStatus;
uint16_t wState;
@@ -168,7 +169,7 @@ struct MIR_APP_EXPORT GCSessionInfoBase : public MZeroedObject, public MNonCopya
USERINFO *pMe;
STATUSINFO *pStatuses;
MODULEINFO *pMI;
- GCSessionInfoBase *pParent;
+ SESSION_INFO *pParent;
LIST<USERINFO> arKeys;
OBJLIST<USERINFO> arUsers;
@@ -249,7 +250,6 @@ struct GlobalLogSettingsBase
#ifndef SRMM_OWN_STRUCTURES
struct LOGSTREAMDATA : public GCLogStreamDataBase {};
-struct SESSION_INFO : public GCSessionInfoBase {};
struct MODULEINFO : public GCModuleInfoBase {};
#endif
@@ -262,7 +262,7 @@ struct MODULEINFO : public GCModuleInfoBase {};
struct CHAT_MANAGER_INITDATA
{
GlobalLogSettingsBase *pSettings;
- int cbModuleInfo, cbSession;
+ int cbModuleInfo;
wchar_t *szFontGroup;
int iFontMode;
HPLUGIN pPlugin;