From e311fc5f472c169ec0f25729fa5070fdd4a6c805 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Nov 2012 17:29:58 +0000 Subject: clist_modern: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_viewmodebar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_modern/src/modern_viewmodebar.cpp') diff --git a/plugins/Clist_modern/src/modern_viewmodebar.cpp b/plugins/Clist_modern/src/modern_viewmodebar.cpp index c4ce59712d..2bf9ae8666 100644 --- a/plugins/Clist_modern/src/modern_viewmodebar.cpp +++ b/plugins/Clist_modern/src/modern_viewmodebar.cpp @@ -59,7 +59,7 @@ static UINT _page2Controls[] = {IDC_CLIST, IDC_STATIC9, IDC_STATIC8, IDC_CLEARAL void ApplyViewMode(const char *Name, bool onlySelector = false ); static UINT _buttons[] = {IDC_RESETMODES, IDC_SELECTMODE, IDC_CONFIGUREMODES, 0}; -static BOOL sttDrawViewModeBackground(HWND hwnd, HDC hdc, RECT * rect); +static BOOL sttDrawViewModeBackground(HWND hwnd, HDC hdc, RECT *rect); static void DeleteViewMode( char * szName ); static int DrawViewModeBar(HWND hWnd, HDC hDC) @@ -70,7 +70,7 @@ static int DrawViewModeBar(HWND hWnd, HDC hDC) return 0; } -static int ViewModePaintCallbackProc(HWND hWnd, HDC hDC, RECT * rcPaint, HRGN rgn, DWORD dFlags, void * CallBackData) +static int ViewModePaintCallbackProc(HWND hWnd, HDC hDC, RECT *rcPaint, HRGN rgn, DWORD dFlags, void * CallBackData) { int i; RECT MyRect = {0}; @@ -1268,7 +1268,7 @@ struct view_mode_t static view_mode_t view_mode; -static BOOL sttDrawViewModeBackground(HWND hwnd, HDC hdc, RECT * rect) +static BOOL sttDrawViewModeBackground(HWND hwnd, HDC hdc, RECT *rect) { BOOL bFloat = (GetParent(hwnd) != pcli->hwndContactList); if (g_CluiData.fDisableSkinEngine || !g_CluiData.fLayered || bFloat) @@ -1469,7 +1469,7 @@ void ApplyViewMode(const char *Name, bool onlySelector ) g_CluiData.bSortByOrder[0] = SORTBY_LASTMSG; for (i=0; i < clistCache->realCount; i++) { - PDNCE pdnce = (PDNCE)clistCache->items[i]; + ClcCacheEntry *pdnce = (ClcCacheEntry *)clistCache->items[i]; pdnce->dwLastMsgTime = CompareContacts2_getLMTime(pdnce->hContact); } g_CluiData.bSortByOrder[0] = bSaved; -- cgit v1.2.3