mirror of https://github.com/stella-emu/stella.git
Fix some warnings from clang.
This commit is contained in:
parent
6dbc6676be
commit
e6dae567f9
|
@ -100,7 +100,6 @@ class RamWidget : public Widget, public CommandSender
|
|||
DataGridWidget* myRamGrid{nullptr};
|
||||
DataGridWidget* myHexValue{nullptr};
|
||||
DataGridWidget* myDecValue{nullptr};
|
||||
DataGridWidget* mySignValue{nullptr};
|
||||
DataGridWidget* myBinValue{nullptr};
|
||||
EditTextWidget* myLabel{nullptr};
|
||||
|
||||
|
|
|
@ -142,9 +142,9 @@ void CheckListWidget::drawWidget(bool hilite)
|
|||
|
||||
// Only draw the caret while editing, and if it's in the current viewport
|
||||
if(_editMode &&
|
||||
(!(_useScrollbar) ||
|
||||
(_selectedItem >= _scrollBar->_currentPos) &&
|
||||
(_selectedItem < _scrollBar->_currentPos + _rows)))
|
||||
(!_useScrollbar ||
|
||||
((_selectedItem >= _scrollBar->_currentPos) &&
|
||||
(_selectedItem < _scrollBar->_currentPos + _rows))))
|
||||
drawCaret();
|
||||
}
|
||||
|
||||
|
|
|
@ -109,9 +109,9 @@ void StringListWidget::drawWidget(bool hilite)
|
|||
|
||||
// Only draw the caret while editing, and if it's in the current viewport
|
||||
if(_editMode &&
|
||||
(!(_useScrollbar) ||
|
||||
(_selectedItem >= _scrollBar->_currentPos) &&
|
||||
(_selectedItem < _scrollBar->_currentPos + _rows)))
|
||||
(!_useScrollbar ||
|
||||
((_selectedItem >= _scrollBar->_currentPos) &&
|
||||
(_selectedItem < _scrollBar->_currentPos + _rows))))
|
||||
drawCaret();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue