summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/MraChat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-28 21:09:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-28 21:09:06 +0000
commit0147f399af73243c400755b2008d025f9f198567 (patch)
tree453a340f9816c6ff29c1d1d546122e7fca215036 /protocols/MRA/src/MraChat.cpp
parent42a5e3cab53a1e83c21d00f5ac71b51802bc4db1 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7937 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraChat.cpp')
-rw-r--r--protocols/MRA/src/MraChat.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/MRA/src/MraChat.cpp b/protocols/MRA/src/MraChat.cpp
index 27573e70eb..c6363029ad 100644
--- a/protocols/MRA/src/MraChat.cpp
+++ b/protocols/MRA/src/MraChat.cpp
@@ -8,12 +8,12 @@ static LPWSTR lpwszStatuses[] = { L"Owners", L"Inviter", L"Visitors" };
void CMraProto::MraChatDllError()
{
- MessageBox(NULL, TranslateT("CHAT plugin is required for conferences. Install it before chatting"), m_tszUserName, (MB_OK|MB_ICONWARNING));
+ MessageBox(NULL, TranslateT("CHAT plugin is required for conferences. Install it before chatting"), m_tszUserName, (MB_OK | MB_ICONWARNING));
}
bool CMraProto::MraChatRegister()
{
- if ( !ServiceExists(MS_GC_REGISTER))
+ if (!ServiceExists(MS_GC_REGISTER))
return FALSE;
GCREGISTER gcr = { sizeof(gcr) };
@@ -41,7 +41,7 @@ INT_PTR CMraProto::MraChatSessionNew(HANDLE hContact)
gcw.ptszID = wszEMail;
gcw.ptszStatusbarText = _T("status bar");
gcw.dwItemData = (DWORD)hContact;
- if ( !CallServiceSync(MS_GC_NEWSESSION, NULL, (LPARAM)&gcw)) {
+ if (!CallServiceSync(MS_GC_NEWSESSION, NULL, (LPARAM)&gcw)) {
GCDEST gcd = { m_szModuleName, wszEMail.c_str(), GC_EVENT_ADDGROUP };
GCEVENT gce = { sizeof(gce), &gcd };
for (int i = 0; i < SIZEOF(lpwszStatuses); i++) {
@@ -189,7 +189,7 @@ int CMraProto::MraChatGcEventHook(WPARAM, LPARAM lParam)
if (bChatExists) {
GCHOOK* gch = (GCHOOK*)lParam;
- if ( !_stricmp(gch->pDest->pszModule, m_szModuleName)) {
+ if (!_stricmp(gch->pDest->pszModule, m_szModuleName)) {
switch (gch->pDest->iType) {
case GC_USER_MESSAGE:
if (gch->ptszText && lstrlen(gch->ptszText)) {
@@ -211,7 +211,7 @@ int CMraProto::MraChatGcEventHook(WPARAM, LPARAM lParam)
break;
case GC_USER_PRIVMESS:
- MraChatSendPrivateMessage( _T2A(gch->ptszUID));
+ MraChatSendPrivateMessage(_T2A(gch->ptszUID));
break;
case GC_USER_LOGMENU: