summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clistmod.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:57:40 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-27 11:57:40 +0000
commit18f6faf592c21341463e835599b61fa811d3e1a0 (patch)
tree33074d2a8466bdc6b27a4a93ae97e871da57eef7 /plugins/Clist_modern/src/modern_clistmod.cpp
parent3e2fa0fa0e7f74b99e3f76d966928e30f1b39393 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@3301 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clistmod.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clistmod.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Clist_modern/src/modern_clistmod.cpp b/plugins/Clist_modern/src/modern_clistmod.cpp
index 6862b89981..4384d36ffa 100644
--- a/plugins/Clist_modern/src/modern_clistmod.cpp
+++ b/plugins/Clist_modern/src/modern_clistmod.cpp
@@ -81,7 +81,7 @@ HICON cliGetIconFromStatusMode(HANDLE hContact, const char *szProto,int status)
if (status>ID_STATUS_OFFLINE)
{
// get xicon
- hXIcon = (HICON)CallService(str,0,0);
+ hXIcon = (HICON)CallService(str, 0, 0);
if (hXIcon)
{
// check overlay mode
@@ -218,7 +218,7 @@ HRESULT PreLoadContactListModule()
{
/* Global data initialization */
g_CluiData.fOnDesktop = FALSE;
- g_CluiData.dwKeyColor = RGB(255,0,255);
+ g_CluiData.dwKeyColor = RGB(255, 0, 255);
g_CluiData.bCurrentAlpha = 255;
//initialize firstly hooks
@@ -335,7 +335,7 @@ int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY)
{
RECT rc;
int i=0;
- rgn = CreateRectRgn(0,0,1,1);
+ rgn = CreateRectRgn(0, 0, 1,1);
GetWindowRect(hWnd,&rc);
GetWindowRgn(hWnd,rgn);
OffsetRgn(rgn,rc.left,rc.top);
@@ -425,10 +425,10 @@ int cliShowHide(WPARAM wParam,LPARAM lParam)
{
BOOL bShow = FALSE;
- int iVisibleState = GetWindowVisibleState(pcli->hwndContactList,0,0);
+ int iVisibleState = GetWindowVisibleState(pcli->hwndContactList, 0, 0);
int method = db_get_b(NULL, "ModernData", "HideBehind", SETTING_HIDEBEHIND_DEFAULT);; //(0-none, 1-leftedge, 2-rightedge);
if (method) {
- if (db_get_b(NULL, "ModernData", "BehindEdge", SETTING_BEHINDEDGE_DEFAULT) == 0 && lParam != 1)
+ if ( db_get_b(NULL, "ModernData", "BehindEdge", SETTING_BEHINDEDGE_DEFAULT) == 0 && lParam != 1)
CLUI_HideBehindEdge(); //hide
else
CLUI_ShowFromBehindEdge();
@@ -490,7 +490,7 @@ int cliShowHide(WPARAM wParam,LPARAM lParam)
db_set_b(NULL,"CList","State",SETTING_STATE_HIDDEN);
}
else {
- if (db_get_b(NULL,"CList","Min2Tray",SETTING_MIN2TRAY_DEFAULT)) {
+ if ( db_get_b(NULL,"CList","Min2Tray",SETTING_MIN2TRAY_DEFAULT)) {
CLUI_ShowWindowMod(pcli->hwndContactList, SW_HIDE);
db_set_b(NULL,"CList","State",SETTING_STATE_HIDDEN);
}