Fix warnings

This commit is contained in:
uramer 2022-01-28 21:45:13 +01:00
parent a972a54ea9
commit e78b8402fa
4 changed files with 8 additions and 7 deletions

View file

@ -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);
}
}