Fix tautological comparison

This commit is contained in:
Alcaro 2020-02-28 18:46:50 +01:00 committed by GitHub
parent a10db7c280
commit ad523ebae0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4884,7 +4884,7 @@ static int setting_string_action_left_netplay_mitm_server(
if (string_is_equal(setting->value.target.string, netplay_mitm_server_list[i].name))
{
/* move to the previous one in the list, wrap around if necessary */
if (i - 1 >= 0)
if (i >= 1)
{
found = true;
offset = i - 1;