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) --- include/m_chat_int.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') 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 arKeys; OBJLIST 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; -- cgit v1.2.3