From 81cdbe832eef6531a9453de827095f87eee56a92 Mon Sep 17 00:00:00 2001 From: thrust26 Date: Tue, 19 Dec 2017 16:57:47 +0100 Subject: [PATCH] refactoring the fix --- src/debugger/gui/TiaOutputWidget.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/debugger/gui/TiaOutputWidget.cxx b/src/debugger/gui/TiaOutputWidget.cxx index bc9a681ed..05d2cd091 100644 --- a/src/debugger/gui/TiaOutputWidget.cxx +++ b/src/debugger/gui/TiaOutputWidget.cxx @@ -182,9 +182,7 @@ void TiaOutputWidget::drawWidget(bool hilite) s.drawPixels(myLineBuffer, _x + 1, _y + 1 + y, width << 1); } - uInt32 beamColor = kColorInfo; - // Show electron beam position if(visible && scanx < width && scany+2u < height) - s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, beamColor); + s.fillRect(_x + 1 + (scanx<<1), _y + 1 + scany, 3, 3, kColorInfo); }