summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-10 16:28:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-10 16:28:29 +0300
commit95af2d0cfadb5707ac7fe941f1352b3c99eb2372 (patch)
tree6504436cbc0bfb1a4437d9c900dbefe60d20a51e /include
parenta17e6fd208ed45a0422f4fe468bd75019be98cbc (diff)
fix for one very rare crash due to unsynced array of status menus & accounts
Diffstat (limited to 'include')
-rw-r--r--include/m_protocols.h5
1 files changed, 5 insertions, 0 deletions
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 <m_core.h>
+#include <m_genmenu.h>
#include <m_system_cpp.h>
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;