summaryrefslogtreecommitdiff
path: root/src/modules/clist
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 13:51:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 13:51:27 +0000
commit65c6790a7463df68854d14917de26b101d35553f (patch)
tree1eb9ae9242ae3a596da76031c51c680a3febd2fd /src/modules/clist
parent5f8a607f900a42e27bf166b86185001aadf3e9f2 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist')
-rw-r--r--src/modules/clist/clistmenus.cpp6
-rw-r--r--src/modules/clist/clistmod.cpp4
-rw-r--r--src/modules/clist/clisttray.cpp2
-rw-r--r--src/modules/clist/clui.cpp2
-rw-r--r--src/modules/clist/cluiservices.cpp2
-rw-r--r--src/modules/clist/protocolorder.cpp2
6 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/clist/clistmenus.cpp b/src/modules/clist/clistmenus.cpp
index 6f96ae6d2e..ac0c408287 100644
--- a/src/modules/clist/clistmenus.cpp
+++ b/src/modules/clist/clistmenus.cpp
@@ -606,7 +606,7 @@ INT_PTR StatusMenuExecService(WPARAM wParam, LPARAM)
cli.currentDesiredStatusMode = smep->status;
for (int j=0; j < accounts.getCount(); j++) {
- PROTOACCOUNT* pa = accounts[j];
+ PROTOACCOUNT *pa = accounts[j];
if (!Proto_IsAccountEnabled(pa))
continue;
if (MenusProtoCount > 1 && Proto_IsAccountLocked(pa))
@@ -866,7 +866,7 @@ void RebuildMenuOrder(void)
if (i == -1)
continue;
- PROTOACCOUNT* pa = accounts[i];
+ PROTOACCOUNT *pa = accounts[i];
int pos = 0;
if (!bHideStatusMenu && !cli.pfnGetProtocolVisibility(pa->szModuleName))
continue;
@@ -975,7 +975,7 @@ void RebuildMenuOrder(void)
//add to root menu
for (j = 0; j < SIZEOF(statusModeList); j++) {
for (i=0; i < accounts.getCount(); i++) {
- PROTOACCOUNT* pa = accounts[i];
+ PROTOACCOUNT *pa = accounts[i];
if (!bHideStatusMenu && !cli.pfnGetProtocolVisibility(pa->szModuleName))
continue;
diff --git a/src/modules/clist/clistmod.cpp b/src/modules/clist/clistmod.cpp
index cd5059ceca..72a9c21847 100644
--- a/src/modules/clist/clistmod.cpp
+++ b/src/modules/clist/clistmod.cpp
@@ -188,7 +188,7 @@ static INT_PTR GetContactIcon(WPARAM wParam, LPARAM)
return cli.pfnGetContactIcon(wParam);
}
-static void AddProtoIconIndex(PROTOACCOUNT* pa)
+static void AddProtoIconIndex(PROTOACCOUNT *pa)
{
ProtoIconIndex *pii = new ProtoIconIndex;
pii->szProto = pa->szModuleName;
@@ -200,7 +200,7 @@ static void AddProtoIconIndex(PROTOACCOUNT* pa)
protoIconIndex.insert(pii);
}
-static void RemoveProtoIconIndex(PROTOACCOUNT* pa)
+static void RemoveProtoIconIndex(PROTOACCOUNT *pa)
{
for (int i=0; i < protoIconIndex.getCount(); i++)
if (strcmp(protoIconIndex[i].szProto, pa->szModuleName) == 0) {
diff --git a/src/modules/clist/clisttray.cpp b/src/modules/clist/clisttray.cpp
index 17b017244f..052a1c9637 100644
--- a/src/modules/clist/clisttray.cpp
+++ b/src/modules/clist/clisttray.cpp
@@ -266,7 +266,7 @@ int fnTrayIconInit(HWND hwnd)
for (int i=0; i < accounts.getCount(); i++) {
int j = cli.pfnGetAccountIndexByPos(i);
if (j >= 0) {
- PROTOACCOUNT* pa = accounts[j];
+ PROTOACCOUNT *pa = accounts[j];
if (cli.pfnGetProtocolVisibility(pa->szModuleName))
cli.pfnTrayIconAdd(hwnd, pa->szModuleName, NULL, CallProtoServiceInt(NULL,pa->szModuleName, PS_GETSTATUS, 0, 0));
}
diff --git a/src/modules/clist/clui.cpp b/src/modules/clist/clui.cpp
index 3c332f7042..7522afabf3 100644
--- a/src/modules/clist/clui.cpp
+++ b/src/modules/clist/clui.cpp
@@ -1002,7 +1002,7 @@ LRESULT CALLBACK fnContactListWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
else
x += 2;
if (showOpts & 2) {
- PROTOACCOUNT* pa;
+ PROTOACCOUNT *pa;
TCHAR tszName[64];
if ((pa = Proto_GetAccount(szProto)) != NULL)
mir_sntprintf(tszName, SIZEOF(tszName), _T("%s "), pa->tszAccountName);
diff --git a/src/modules/clist/cluiservices.cpp b/src/modules/clist/cluiservices.cpp
index e3702d61cc..02f1a0485c 100644
--- a/src/modules/clist/cluiservices.cpp
+++ b/src/modules/clist/cluiservices.cpp
@@ -176,7 +176,7 @@ void fnCluiProtocolStatusChanged(int, const char*)
x += g_IconWidth;
if (showOpts & 2) {
TCHAR tszName[64];
- PROTOACCOUNT* pa = Proto_GetAccount(cli.menuProtos[i].szProto);
+ PROTOACCOUNT *pa = Proto_GetAccount(cli.menuProtos[i].szProto);
if (pa)
mir_sntprintf(tszName, SIZEOF(tszName), _T("%s "), pa->tszAccountName);
else
diff --git a/src/modules/clist/protocolorder.cpp b/src/modules/clist/protocolorder.cpp
index 747f81ddf4..a6d45fdc94 100644
--- a/src/modules/clist/protocolorder.cpp
+++ b/src/modules/clist/protocolorder.cpp
@@ -196,7 +196,7 @@ INT_PTR CALLBACK ProtocolOrderOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
if (tvi.lParam != 0) {
ProtocolData* ppd = (ProtocolData*)tvi.lParam;
- PROTOACCOUNT* pa = Proto_GetAccount(ppd->RealName);
+ PROTOACCOUNT *pa = Proto_GetAccount(ppd->RealName);
if (pa != NULL) {
while (idx < accounts.getCount() && !ProtoToInclude(accounts[idx])) idx++;
pa->iOrder = idx++;