diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-10 16:28:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-10 16:28:29 +0300 |
commit | 95af2d0cfadb5707ac7fe941f1352b3c99eb2372 (patch) | |
tree | 6504436cbc0bfb1a4437d9c900dbefe60d20a51e /include/m_protocols.h | |
parent | a17e6fd208ed45a0422f4fe468bd75019be98cbc (diff) |
fix for one very rare crash due to unsynced array of status menus & accounts
Diffstat (limited to 'include/m_protocols.h')
-rw-r--r-- | include/m_protocols.h | 5 |
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;
|