diff options
author | George Hazan <george.hazan@gmail.com> | 2014-10-04 19:18:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-10-04 19:18:26 +0000 |
commit | 3f6232a496649a70ee5d2e1027072723d4171948 (patch) | |
tree | 9d17ba103d7694a2d5e28d70e51d70031f2c9241 /protocols/MRA/src/MraProto.cpp | |
parent | e1fe110fbc06e243230ccaf885f292d80fc99f79 (diff) |
MRA:
- global variable went into a class;
- warning fixes
- code cleaning;
git-svn-id: http://svn.miranda-ng.org/main/trunk@10691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraProto.cpp')
-rw-r--r-- | protocols/MRA/src/MraProto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraProto.cpp b/protocols/MRA/src/MraProto.cpp index 53b9006494..9033c53e01 100644 --- a/protocols/MRA/src/MraProto.cpp +++ b/protocols/MRA/src/MraProto.cpp @@ -57,7 +57,7 @@ CMraProto::CMraProto(const char* _module, const TCHAR* _displayName) : hExtraXstatusIcon = ExtraIcon_Register("MRAXstatus", LPGEN("Mail.ru xStatus"), "mra_xstatus25");
hExtraInfo = ExtraIcon_Register("MRAStatus", LPGEN("Mail.ru extra info"), MRA_XSTATUS_UNKNOWN_STR);
- bHideXStatusUI = FALSE;
+ m_bHideXStatusUI = false;
m_iXStatus = getByte(DBSETTING_XSTATUSID, MRA_MIR_XSTATUS_NONE);
if ( !IsXStatusValid(m_iXStatus))
m_iXStatus = MRA_MIR_XSTATUS_NONE;
@@ -120,6 +120,7 @@ int CMraProto::OnModulesLoaded(WPARAM, LPARAM) int CMraProto::OnPreShutdown(WPARAM, LPARAM)
{
+ m_bShutdown = true;
SetStatus(ID_STATUS_OFFLINE);
MraAvatarsQueueSuspend(hAvatarsQueueHandle);
return 0;
|