Dead code elimination found by Coverity.

This commit is contained in:
Stephen Anthony 2019-11-30 17:24:19 -03:30
parent 8a0491f3d3
commit 9c6bfb3251
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void StringListWidget::drawWidget(bool hilite)
textColor = kTextColorInv;
}
else
s.frameRect(_x + 1, _y + 1 + _fontHeight * i, _w - 1, _fontHeight, onTop ? kWidColorHi : kBGColorLo);
s.frameRect(_x + 1, _y + 1 + _fontHeight * i, _w - 1, _fontHeight, kWidColorHi);
}
Common::Rect r(getEditRect());