aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/PlatWin.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-01 13:47:01 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-01 13:47:01 +1000
commit6065b35281afe152b61d346850bbcdd8e26419ee (patch)
treeb38d6144827db68adbdc61ffee5c64a1caaa590a /win32/PlatWin.h
parent305b903fe092c08d2873785d1e2638cbfbe831ab (diff)
downloadscintilla-mirror-6065b35281afe152b61d346850bbcdd8e26419ee.tar.gz
Use RectFromPRectangle to avoid casts.
Diffstat (limited to 'win32/PlatWin.h')
-rw-r--r--win32/PlatWin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/PlatWin.h b/win32/PlatWin.h
index eff1fea01..bff73ae70 100644
--- a/win32/PlatWin.h
+++ b/win32/PlatWin.h
@@ -13,6 +13,8 @@ namespace Scintilla {
extern void Platform_Initialise(void *hInstance);
extern void Platform_Finalise(bool fromDllMain);
+RECT RectFromPRectangle(PRectangle prc);
+
#if defined(USE_D2D)
extern bool LoadD2D();
extern ID2D1Factory *pD2DFactory;