summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra_svcs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-10-04 19:18:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-10-04 19:18:26 +0000
commit3f6232a496649a70ee5d2e1027072723d4171948 (patch)
tree9d17ba103d7694a2d5e28d70e51d70031f2c9241 /protocols/MRA/src/Mra_svcs.cpp
parente1fe110fbc06e243230ccaf885f292d80fc99f79 (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/Mra_svcs.cpp')
-rw-r--r--protocols/MRA/src/Mra_svcs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MRA/src/Mra_svcs.cpp b/protocols/MRA/src/Mra_svcs.cpp
index bf3c6912ff..28d8d05590 100644
--- a/protocols/MRA/src/Mra_svcs.cpp
+++ b/protocols/MRA/src/Mra_svcs.cpp
@@ -436,12 +436,12 @@ INT_PTR CMraProto::MraSetXStatusEx(WPARAM wParam, LPARAM lParam)
// hide menu items
if (pData->flags & CSSF_DISABLE_UI) {
- bHideXStatusUI = (*pData->wParam) ? FALSE : TRUE;
+ m_bHideXStatusUI = (*pData->wParam) ? false : true;
DWORD dwCount = MRA_XSTATUS_OFF_CLI_COUNT;
if (getByte(NULL, "xStatusShowAll", MRA_DEFAULT_SHOW_ALL_XSTATUSES))
dwCount = MRA_XSTATUS_COUNT;
for (DWORD i = 0; i < dwCount; i++)
- Menu_ShowItem(hXStatusMenuItems[i], !bHideXStatusUI);
+ Menu_ShowItem(hXStatusMenuItems[i], !m_bHideXStatusUI);
}
}
return iRet;
@@ -495,7 +495,7 @@ INT_PTR CMraProto::MraGetXStatusEx(WPARAM hContact, LPARAM lParam)
}
if ((pData->flags & CSSF_DISABLE_UI) && pData->wParam)
- *pData->wParam = bHideXStatusUI;
+ *pData->wParam = m_bHideXStatusUI;
if ((pData->flags & CSSF_STATUSES_COUNT) && pData->wParam)
*pData->wParam = MRA_XSTATUS_COUNT - 1;