From 6e83e6810ab540385e4021eb99092024bb069624 Mon Sep 17 00:00:00 2001 From: Don Ho Date: Sun, 8 May 2022 15:00:04 +0200 Subject: [PATCH] Restore auto-completion & calltip default fg/bg colors (no theme) Fix #11637 --- PowerEditor/src/Notepad_plus.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PowerEditor/src/Notepad_plus.cpp b/PowerEditor/src/Notepad_plus.cpp index 373a7728a..e324d562e 100644 --- a/PowerEditor/src/Notepad_plus.cpp +++ b/PowerEditor/src/Notepad_plus.cpp @@ -5840,6 +5840,9 @@ void Notepad_plus::drawTabbarColoursFromStylerArray() void Notepad_plus::drawAutocompleteColoursFromTheme(COLORREF fgColor, COLORREF bgColor) { + if (bgColor == 0xFFFFFF) + return; + int rbv = GetRValue(bgColor); int gbv = GetGValue(bgColor); int bbv = GetBValue(bgColor);