From 92290868cf9753d2df0d494cb44e2ff62a570b58 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 24 May 2021 19:31:06 +1000 Subject: Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.h and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal. --- src/Geometry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Geometry.cxx') diff --git a/src/Geometry.cxx b/src/Geometry.cxx index 68ce1f628..9eea41345 100644 --- a/src/Geometry.cxx +++ b/src/Geometry.cxx @@ -11,7 +11,7 @@ #include "Geometry.h" -namespace Scintilla { +namespace Scintilla::Internal { PRectangle Clamp(PRectangle rc, Edge edge, XYPOSITION position) noexcept { switch (edge) { -- cgit v1.2.3