diff --git a/Windows/Debugger/CtrlDisAsmView.cpp b/Windows/Debugger/CtrlDisAsmView.cpp index 501cc51cbb21..202feaf8c168 100644 --- a/Windows/Debugger/CtrlDisAsmView.cpp +++ b/Windows/Debugger/CtrlDisAsmView.cpp @@ -527,10 +527,10 @@ void CtrlDisAsmView::onPaint(WPARAM wParam, LPARAM lParam) addressPositions[address] = rowY1; // draw background - COLORREF backgroundColor = whiteBackground ? 0xFFFFFF : debugger->getColor(address, false); + COLORREF backgroundColor = whiteBackground ? 0xFFFFFF : (debugger->getColor(address, false) & 0xFFFFFF); COLORREF textColor = 0x000000; - if (isInInterval(address,line.totalSize,debugger->getPC())) + if (isInInterval(address, line.totalSize, debugger->getPC())) { backgroundColor = scaleColor(backgroundColor,1.05f); }