summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_statusbar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-22 12:31:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-22 12:31:45 +0000
commit9fcf8dce5638362799de647f8eb9711195e41992 (patch)
tree289eb79706398ce3a8f9662e866a22ccd94d66f6 /plugins/Clist_modern/src/modern_statusbar.cpp
parent319ec9408e1f8beda226481058a864477d156715 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@4159 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_statusbar.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_statusbar.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_statusbar.cpp b/plugins/Clist_modern/src/modern_statusbar.cpp
index 3417876ab7..1d6538b19d 100644
--- a/plugins/Clist_modern/src/modern_statusbar.cpp
+++ b/plugins/Clist_modern/src/modern_statusbar.cpp
@@ -811,9 +811,7 @@ LRESULT CALLBACK ModernStatusProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam
case WM_RBUTTONDOWN:
{
RECT rc;
- POINT pt;
- pt.x = (short)LOWORD(lParam);
- pt.y = (short)HIWORD(lParam);
+ POINT pt = UNPACK_POINT(lParam);
KillTimer(hwnd,TM_STATUSBARHIDE);
KillTimer(hwnd,TM_STATUSBAR);
@@ -942,7 +940,7 @@ LRESULT CALLBACK ModernStatusProc(HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam
SetCapture( NULL );
return 0;
}
- return SendMessage(GetParent(hwnd), msg, wParam, lParam );
+ return SendMessage(GetParent(hwnd), msg, wParam, lParam);
}
}
return DefWindowProc(hwnd, msg, wParam, lParam);