diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-25 03:28:05 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-25 03:28:05 +0200 |
commit | 160b5ac92a846038372225ab79e29166fd152949 (patch) | |
tree | ada5441269dbd13f57479180bcafe60cc6fa7525 /c/layout.cpp | |
parent | 158e54f071a3b2b41e6105fc3064ce8297fe532a (diff) | |
download | EpisodeBrowser-160b5ac92a846038372225ab79e29166fd152949.tar.gz |
Fix MSVC compatibility.
Diffstat (limited to 'c/layout.cpp')
-rw-r--r-- | c/layout.cpp | 2 |
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, |