mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-20 12:24:49 +02:00
Fix RTL regression after upgrading Scintilla from v4 to v5
This regression has been fixed in Scintilla project:
fa80f5d42d
/
Fix #11476, close #11516
This commit is contained in:
parent
6d929e1871
commit
a16f08468e
@ -565,7 +565,8 @@ SurfaceGDI::SurfaceGDI() noexcept {
|
||||
}
|
||||
|
||||
SurfaceGDI::SurfaceGDI(HDC hdcCompatible, int width, int height, SurfaceMode mode_, int logPixelsY_) noexcept {
|
||||
hdc = ::CreateCompatibleDC(hdc);
|
||||
// Fixed in Scintilla project: https://sourceforge.net/p/scintilla/code/ci/fa80f5d42d95cb95030f587b00174471d946353b/
|
||||
hdc = ::CreateCompatibleDC(hdcCompatible);
|
||||
hdcOwned = true;
|
||||
bitmap = ::CreateCompatibleBitmap(hdcCompatible, width, height);
|
||||
bitmapOld = SelectBitmap(hdc, bitmap);
|
||||
|
Loading…
x
Reference in New Issue
Block a user