From 95af2d0cfadb5707ac7fe941f1352b3c99eb2372 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 10 Apr 2018 16:28:29 +0300 Subject: fix for one very rare crash due to unsynced array of status menus & accounts --- include/m_protocols.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/m_protocols.h b/include/m_protocols.h index ee81f41ef8..3c8a70a444 100644 --- a/include/m_protocols.h +++ b/include/m_protocols.h @@ -32,6 +32,7 @@ struct PROTO_INTERFACE; #include "statusmodes.h" #include +#include #include struct CCSDATA @@ -281,6 +282,10 @@ struct MIR_APP_EXPORT PROTOACCOUNT int iIconBase; // index of the first icon in ClistImages int iRealStatus; // last status reported by protocol + int protoindex; + int protostatus[MAX_STATUS_COUNT]; + HGENMENU menuhandle[MAX_STATUS_COUNT]; + bool IsEnabled(void) const; bool IsLocked(void) const; bool IsVisible(void) const; -- cgit v1.2.3