diff options
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index c80be52e3..681f0b42b 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -619,7 +619,7 @@ void ScintillaWin::EnsureRenderTarget(HDC hdc) { DropRenderTarget(); renderTargetValid = true; } - if (pD2DFactory && !pRenderTarget) { + if (!pRenderTarget) { HWND hw = MainHWND(); RECT rc; ::GetClientRect(hw, &rc); |