diff options
-rw-r--r-- | src/EditView.cxx | 2 | ||||
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/EditView.cxx b/src/EditView.cxx index 1e87fa294..fad523351 100644 --- a/src/EditView.cxx +++ b/src/EditView.cxx @@ -388,7 +388,7 @@ bool ViewIsASCII(std::string_view text) { void LayoutSegments(IPositionCache *pCache, Surface *surface, const ViewStyle &vstyle, - LineLayout *ll, + LineLayout *ll, const std::vector<TextSegment> &segments, std::atomic<uint32_t> &nextIndex, const bool textUnicode, diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c0b31866f..eae82a0fb 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3496,11 +3496,11 @@ LRESULT PASCAL ScintillaWin::CTWndProc( #endif RECT rc; GetClientRect(hWnd, &rc); - // Create a Direct2D render target. if (sciThis->technology == Technology::Default) { surfaceWindow->Init(ps.hdc, hWnd); } else { #if defined(USE_D2D) + // Create a Direct2D render target. D2D1_HWND_RENDER_TARGET_PROPERTIES dhrtp {}; dhrtp.hwnd = hWnd; dhrtp.pixelSize = D2D1::SizeU(rc.right - rc.left, rc.bottom - rc.top); |