aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authorZufu Liu <unknown>2022-03-04 08:21:05 +1100
committerZufu Liu <unknown>2022-03-04 08:21:05 +1100
commitd2299a660d680f8a533abcbf8e050eb41a893e25 (patch)
tree5bb1def477f28408a6b354b9ca20cdd96ce362c8 /win32/ScintillaWin.cxx
parentf3e4f3579a6c9ad620cf00ad951cc97cd59be365 (diff)
downloadscintilla-mirror-d2299a660d680f8a533abcbf8e050eb41a893e25.tar.gz
Feature [feature-requests:#1432] Cosmetic - comment position and trailing space.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx2
1 files changed, 1 insertions, 1 deletions
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);