mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
Fix warning
svn-id: r16325
This commit is contained in:
parent
02c0a25c31
commit
509f1b040f
@ -489,7 +489,7 @@ void LauncherDialog::updateListing() {
|
|||||||
|
|
||||||
const int oldSel = _list->getSelected();
|
const int oldSel = _list->getSelected();
|
||||||
_list->setList(l);
|
_list->setList(l);
|
||||||
if (oldSel < l.size())
|
if (oldSel < (int)l.size())
|
||||||
_list->setSelected(oldSel); // Restore the old selection
|
_list->setSelected(oldSel); // Restore the old selection
|
||||||
updateButtons();
|
updateButtons();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user