diff options
Diffstat (limited to 'win32/PlatWin.h')
| -rw-r--r-- | win32/PlatWin.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h index 2a1bcb649..cf357f72d 100644 --- a/win32/PlatWin.h +++ b/win32/PlatWin.h @@ -13,11 +13,7 @@ namespace Scintilla { extern void Platform_Initialise(void *hInstance); extern void Platform_Finalise(bool fromDllMain); -RECT RectFromPRectangle(PRectangle prc) noexcept { - RECT rc = { static_cast<LONG>(prc.left), static_cast<LONG>(prc.top), - static_cast<LONG>(prc.right), static_cast<LONG>(prc.bottom) }; - return rc; -} +RECT RectFromPRectangle(PRectangle prc) noexcept; #if defined(USE_D2D) extern bool LoadD2D(); |
