summaryrefslogtreecommitdiff
path: root/ldmicro/draw_outputdev.cpp
diff options
context:
space:
mode:
authorakshay-c2019-06-27 10:23:57 +0530
committerakshay-c2019-06-27 10:23:57 +0530
commitd173a9be97cab476f2dd1aa9a43fef06e215ee57 (patch)
tree266973b96547e796d70f4043618d97a7a3738629 /ldmicro/draw_outputdev.cpp
parent3f7c4198a528cda5f027d26d103a8b228e82474b (diff)
downloadLDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.gz
LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.tar.bz2
LDmicroQt-d173a9be97cab476f2dd1aa9a43fef06e215ee57.zip
Code Beautification
Diffstat (limited to 'ldmicro/draw_outputdev.cpp')
-rw-r--r--ldmicro/draw_outputdev.cpp3
1 files changed, 2 insertions, 1 deletions
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);