From d173a9be97cab476f2dd1aa9a43fef06e215ee57 Mon Sep 17 00:00:00 2001 From: akshay-c Date: Thu, 27 Jun 2019 10:23:57 +0530 Subject: Code Beautification --- ldmicro/draw_outputdev.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ldmicro/draw_outputdev.cpp') diff --git a/ldmicro/draw_outputdev.cpp b/ldmicro/draw_outputdev.cpp index 1b3921d..d38f3a8 100644 --- a/ldmicro/draw_outputdev.cpp +++ b/ldmicro/draw_outputdev.cpp @@ -292,7 +292,8 @@ void PaintWidget::paintEvent(QPaintEvent *event) /*if(((cy + thisHeight) >= (ScrollYOffset - 8)*POS_HEIGHT) && (cy < (ScrollYOffset + rowsAvailable + 8)*POS_HEIGHT))*/ { - SetBkColor(DrawWindow, Hcr, InSimulationMode ? HighlightColours.simBg : + SetBkColor(DrawWindow, Hcr, + InSimulationMode ? HighlightColours.simBg : HighlightColours.bg); SetTextColor(Hcr, InSimulationMode ? HighlightColours.simRungNum : HighlightColours.rungNum); -- cgit