summaryrefslogtreecommitdiff
path: root/plugins/SRMM/richutil.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-23 19:22:49 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-23 19:22:49 +0000
commit737f526a855d0fc814c6e5fa0fb3f908c8ad83bb (patch)
tree5bd2e19b7a5f316ac59fdc4470e8b2b1fabf38e2 /plugins/SRMM/richutil.cpp
parent1c51a6e0409bbfd61383a942636d6766154b5225 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@584 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SRMM/richutil.cpp')
-rw-r--r--plugins/SRMM/richutil.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SRMM/richutil.cpp b/plugins/SRMM/richutil.cpp
index 5210f1bf00..92065ca0c8 100644
--- a/plugins/SRMM/richutil.cpp
+++ b/plugins/SRMM/richutil.cpp
@@ -131,7 +131,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
ru = (TRichUtil *)li.List_Find(&sListInt, (TRichUtil*)&hwnd);
LeaveCriticalSection(&csRich);
- if (ru == NULL) return 0;
+ if (ru == NULL) return 0;
switch(msg)
{
@@ -209,7 +209,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
RECT rcClient ={0};
HDC hdc = GetDC(GetParent(hwnd));
- if (MyGetThemeBackgroundContentRect(hTheme, hdc, EP_EDITTEXT, ETS_NORMAL, &ncsParam->rgrc[0], &rcClient) == S_OK)
+ if (MyGetThemeBackgroundContentRect(hTheme, hdc, EP_EDITTEXT, ETS_NORMAL, &ncsParam->rgrc[0], &rcClient) == S_OK)
{
ru->rect.left = rcClient.left-ncsParam->rgrc[0].left;
ru->rect.top = rcClient.top-ncsParam->rgrc[0].top;
@@ -241,7 +241,7 @@ static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM
if (IsWindow(hwnd))
{
- if ((WNDPROC)GetWindowLongPtr(hwnd, GWLP_WNDPROC) == &RichUtil_Proc)
+ if ((WNDPROC)GetWindowLongPtr(hwnd, GWLP_WNDPROC) == &RichUtil_Proc)
SetWindowLongPtr(hwnd, GWLP_WNDPROC, (LONG_PTR)ru->origProc);
}