mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Fix warnings
This commit is contained in:
parent
a972a54ea9
commit
e78b8402fa
4 changed files with 8 additions and 7 deletions
|
@ -28,7 +28,7 @@ namespace LuaUi
|
|||
|
||||
void attachToWidget(size_t index, MyGUI::Widget* widget)
|
||||
{
|
||||
if (0 <= index && index < allSettings.size())
|
||||
if (index < allSettings.size())
|
||||
allSettings[index].mElement->attachToWidget(widget);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue