diff options
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r-- | win32/PlatWin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index 1391723dd..8ce798cf1 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -19,7 +19,7 @@ extern void Platform_Initialise(void *hInstance) noexcept; extern void Platform_Finalise(bool fromDllMain) noexcept; constexpr RECT RectFromPRectangle(PRectangle prc) noexcept { - RECT rc = { static_cast<LONG>(prc.left), static_cast<LONG>(prc.top), + const RECT rc = { static_cast<LONG>(prc.left), static_cast<LONG>(prc.top), static_cast<LONG>(prc.right), static_cast<LONG>(prc.bottom) }; return rc; } |