Fix a typo in an out-of-bounds check in lobby
This commit is contained in:
parent
5f38723d1e
commit
2e5b220f6d
1 changed files with 1 additions and 1 deletions
|
@ -627,7 +627,7 @@ void tlobby_main::update_gamelist_diff()
|
|||
network::send_data(config("refresh_lobby"), 0, true);
|
||||
return;
|
||||
}
|
||||
if (list_i + list_rows_deleted > gamelist_id_at_row_.size()) {
|
||||
if (list_i + list_rows_deleted >= gamelist_id_at_row_.size()) {
|
||||
ERR_LB << "gamelist_id_at_row_ overflow! "
|
||||
<< list_i << " + " << list_rows_deleted
|
||||
<< " > " << gamelist_id_at_row_.size()
|
||||
|
|
Loading…
Add table
Reference in a new issue