diff --git a/scintilla/win32/PlatWin.cxx b/scintilla/win32/PlatWin.cxx index d39ca0709a..6f2ff2486d 100644 --- a/scintilla/win32/PlatWin.cxx +++ b/scintilla/win32/PlatWin.cxx @@ -346,7 +346,7 @@ FontCached::FontCached(const FontParameters &fp) : HRESULT hr = pIDWriteFactory->CreateTextFormat(wszFace, nullptr, static_cast(fp.weight), style, - DWRITE_FONT_STRETCH_NORMAL, fHeight, L"en-us", &pTextFormat); + DWRITE_FONT_STRETCH_NORMAL, fHeight, L"", &pTextFormat); if (SUCCEEDED(hr)) { pTextFormat->SetWordWrapping(DWRITE_WORD_WRAPPING_NO_WRAP);