summaryrefslogtreecommitdiff
path: root/src/modules/clist/clc.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-14 13:36:09 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-14 13:36:09 +0000
commit7205e006b83f8cbeb70c10507cfc2de7698cc4e9 (patch)
tree94d6a894705bdc68d013fdac5fddb55fafc67f5e /src/modules/clist/clc.cpp
parent1a9a5f548e8f507a60997f59a0e09d94b2d6f2b8 (diff)
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clc.cpp')
-rw-r--r--src/modules/clist/clc.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp
index 8f44d7bf5e..3c530cff57 100644
--- a/src/modules/clist/clc.cpp
+++ b/src/modules/clist/clc.cpp
@@ -208,7 +208,7 @@ static void SortClcByTimer(HWND hwnd)
int LoadCLCModule(void)
{
bModuleInitialized = TRUE;
-
+
g_IconWidth = GetSystemMetrics(SM_CXSMICON);
g_IconHeight = GetSystemMetrics(SM_CYSMICON);
@@ -236,7 +236,7 @@ int LoadCLCModule(void)
void UnloadClcModule()
{
if ( !bModuleInitialized) return;
-
+
UnhookEvent(hAckHook);
UnhookEvent(hClcSettingsChanged);
@@ -609,7 +609,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
char *szProto = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, wParam, 0);
if (szProto == NULL)
break;
-
+
WORD apparentMode = DBGetContactSettingWord((HANDLE)wParam, szProto, "ApparentMode", 0);
contact->flags &= ~(CONTACTF_INVISTO | CONTACTF_VISTO);
if (apparentMode == ID_STATUS_OFFLINE)
@@ -634,7 +634,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
contact->flags &= ~CONTACTF_IDLE;
if (db_get_dw((HANDLE)wParam, szProto, "IdleTS", 0))
contact->flags |= CONTACTF_IDLE;
-
+
cli.pfnInvalidateRect(hwnd, NULL, FALSE);
}
break;
@@ -867,7 +867,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
cli.pfnScrollTo(hwnd, dat, dat->yScroll + dat->dragAutoScrolling * dat->rowHeight * 2, 0);
break;
case TIMERID_INFOTIP:
- {
+ {
CLCINFOTIP it;
RECT clRect;
POINT ptClientOffset = { 0 };
@@ -935,7 +935,8 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
dat->dragStage = DRAGSTAGE_NOTMOVED | DRAGSTAGEF_MAYBERENAME;
dat->dragAutoScrolling = 0;
break;
- } }
+ }
+ }
if (hit != -1 && contact->type == CLCIT_GROUP) {
if (hitFlags & CLCHT_ONITEMICON) {