Clean up: remove unecessary code for dark mode

This commit is contained in:
Don Ho 2021-06-22 12:17:49 +02:00
parent e4ebeed6f9
commit 5df7c97f98
1 changed files with 0 additions and 2 deletions

View File

@ -721,8 +721,6 @@ void FileBrowser::notified(LPNMHDR notification)
if (NppDarkMode::isEnabled()) if (NppDarkMode::isEnabled())
{ {
FillRect(nmtbcd->nmcd.hdc, &nmtbcd->nmcd.rc, NppDarkMode::getBackgroundBrush()); FillRect(nmtbcd->nmcd.hdc, &nmtbcd->nmcd.rc, NppDarkMode::getBackgroundBrush());
nmtbcd->clrText = NppDarkMode::getTextColor();
SetTextColor(nmtbcd->nmcd.hdc, NppDarkMode::getTextColor());
SetWindowLongPtr(_hSelf, DWLP_MSGRESULT, CDRF_SKIPDEFAULT); SetWindowLongPtr(_hSelf, DWLP_MSGRESULT, CDRF_SKIPDEFAULT);
} }
else else