aboutsummaryrefslogtreecommitdiff
path: root/c/layout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/layout.cpp')
-rw-r--r--c/layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/layout.cpp b/c/layout.cpp
index 5b3ff00..36edf32 100644
--- a/c/layout.cpp
+++ b/c/layout.cpp
@@ -32,7 +32,7 @@ void UpdateLayout(int w, int h)
/* Resize status bar parts. */
const int aParts[] = {rc.right-Dpi(55), rc.right};
SendMessage(g_hWndStatus, SB_SETPARTS,
- reinterpret_cast<WPARAM>(sizeof(aParts)), reinterpret_cast<LPARAM>(aParts));
+ sizeof(aParts), reinterpret_cast<LPARAM>(aParts));
SendMessage(g_hWnd, WM_SETREDRAW, TRUE, 0);
RedrawWindow(g_hWnd, nullptr, nullptr,