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);