summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_statusbar.cpp
diff options
context:
space:
mode:
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);