mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-04-08 17:15:37 +02:00
fix RTL & directWriteTechnologyUnavailable
This commit is contained in:
parent
e0821f9840
commit
8631e9d9d2
@ -4411,7 +4411,8 @@ void ScintillaEditView::changeTextDirection(bool isRTL)
|
||||
return;
|
||||
|
||||
NppParameters& nppParamInst = NppParameters::getInstance();
|
||||
if (isRTL && (nppParamInst.getNppGUI()._writeTechnologyEngine > defaultTechnology)) // RTL is not compatible with Direct Write Technology
|
||||
if (isRTL && (nppParamInst.getNppGUI()._writeTechnologyEngine > defaultTechnology)
|
||||
&& (nppParamInst.getNppGUI()._writeTechnologyEngine < directWriteTechnologyUnavailable)) // RTL is not compatible with DirectWrite Technology
|
||||
{
|
||||
static bool theWarningIsGiven = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user