diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-27 17:07:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-27 17:07:10 +0000 |
commit | 87fff9deac0941da4e87728f14c917700d5bbdec (patch) | |
tree | 99e0942bba2ab6b71390b5856a1cba3340ff73f4 /plugins/Clist_nicer/src/cluiframes.cpp | |
parent | f12258520128cd7e4f758ba5840ffb4704cea7c8 (diff) |
name conflicts
git-svn-id: http://svn.miranda-ng.org/main/trunk@15046 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/cluiframes.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/cluiframes.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/cluiframes.cpp b/plugins/Clist_nicer/src/cluiframes.cpp index ace31e1037..bbf7b4f8e0 100644 --- a/plugins/Clist_nicer/src/cluiframes.cpp +++ b/plugins/Clist_nicer/src/cluiframes.cpp @@ -1409,7 +1409,6 @@ static int UpdateTBToolTip(int framepos) int FrameNCPaint(HWND hwnd, WNDPROC oldWndProc, WPARAM wParam, LPARAM lParam, BOOL hasTitleBar) { - HDC hdc; RECT rcWindow, rc; HWND hwndParent = GetParent(hwnd); LRESULT result = 0; @@ -1457,7 +1456,7 @@ int FrameNCPaint(HWND hwnd, WNDPROC oldWndProc, WPARAM wParam, LPARAM lParam, BO } if (GetWindowLongPtr(hwnd, GWL_STYLE) & WS_BORDER) { - hdc = GetWindowDC(hwnd); + HDC hdc = GetWindowDC(hwnd); HPEN hPenOld = reinterpret_cast<HPEN>(SelectObject(hdc, g_hPenCLUIFrames)); GetWindowRect(hwnd, &rcWindow); rc.left = rc.top = 0; @@ -2812,7 +2811,6 @@ LRESULT CALLBACK CLUIFrameContainerWndProc(HWND hwnd, UINT msg, WPARAM wParam, L CLUIFrameResizeFloatingFrame(framepos); - RECT rect; GetWindowRect(Frames[framepos].ContainerWnd, &rect); Frames[framepos].FloatingPos.x = rect.left; Frames[framepos].FloatingPos.y = rect.top; |