mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-03 11:56:41 +00:00
Fix clang warning
This commit is contained in:
parent
8094761c3e
commit
f6b06057fa
1 changed files with 3 additions and 2 deletions
|
|
@ -496,8 +496,9 @@ namespace
|
|||
MyGUI::Button* listItem = _list->getItemWidget(_list->getItemNameAt(i));
|
||||
if (listItem)
|
||||
{
|
||||
listItem->setTextColour(
|
||||
static_cast<int>(mButtons.size()) == _selectedIndex ? MWGui::journalHeaderColour : MyGUI::Colour::Black);
|
||||
listItem->setTextColour(static_cast<int>(mButtons.size()) == _selectedIndex
|
||||
? MWGui::journalHeaderColour
|
||||
: MyGUI::Colour::Black);
|
||||
mButtons.push_back(listItem);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue