mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-24 22:34:54 +02:00
Fix a small regression due to c3daf4448ddc21a8733e250f2020137c3aad2757
Close #11378
This commit is contained in:
parent
d6b736aac0
commit
4e97469d8f
@ -131,7 +131,12 @@ intptr_t CALLBACK RegExtDlg::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPa
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (nppParam.isAdmin())
|
if (nppParam.isAdmin())
|
||||||
SetTextColor((HDC)wParam, NppDarkMode::getTextColor());
|
{
|
||||||
|
if (NppDarkMode::isEnabled())
|
||||||
|
SetTextColor((HDC)wParam, NppDarkMode::getTextColor());
|
||||||
|
else
|
||||||
|
SetTextColor((HDC)wParam, RGB(0, 0, 0));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
SetTextColor((HDC)wParam, NppDarkMode::getDisabledTextColor());
|
SetTextColor((HDC)wParam, NppDarkMode::getDisabledTextColor());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user