summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_viewmodebar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-15 17:29:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-15 17:29:58 +0000
commite311fc5f472c169ec0f25729fa5070fdd4a6c805 (patch)
treeb63a187d53fc6a061422a851ae3dbd8123be909a /plugins/Clist_modern/src/modern_viewmodebar.cpp
parent6cd8cc0b3461df48269fac24aad474154fb040b2 (diff)
clist_modern: code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2318 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_viewmodebar.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_viewmodebar.cpp8
1 files changed, 4 insertions, 4 deletions
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;