From 7205e006b83f8cbeb70c10507cfc2de7698cc4e9 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Wed, 14 Nov 2012 13:36:09 +0000 Subject: tabs and spaces cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2310 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/clist/clc.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/modules/clist/clc.cpp') 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) { -- cgit v1.2.3