diff options
author | Zufu Liu <unknown> | 2022-03-05 20:13:08 +1100 |
---|---|---|
committer | Zufu Liu <unknown> | 2022-03-05 20:13:08 +1100 |
commit | baff47cdde385cc15b39ab93fca5f41db795d6bc (patch) | |
tree | e6e228fe16231e52c1bcdb55dc0a91ca793158d5 /win32 | |
parent | bbfeaf78ee634c24bd7fcb1c7faff207473e71e4 (diff) | |
download | scintilla-mirror-baff47cdde385cc15b39ab93fca5f41db795d6bc.tar.gz |
Feature [feature-requests:#1432] Simplify setting surface modes with
EditModel::CurrentSurfaceMode.
Diffstat (limited to 'win32')
-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 64c356b49..7bb8d43db 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -3527,7 +3527,7 @@ LRESULT PASCAL ScintillaWin::CTWndProc( } #endif } - surfaceWindow->SetMode(SurfaceMode(sciThis->ct.codePage, sciThis->BidirectionalR2L())); + surfaceWindow->SetMode(sciThis->CurrentSurfaceMode()); sciThis->ct.PaintCT(surfaceWindow.get()); #if defined(USE_D2D) if (pCTRenderTarget) |