mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Fix tautological comparison
This commit is contained in:
parent
a10db7c280
commit
ad523ebae0
@ -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))
|
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 */
|
/* move to the previous one in the list, wrap around if necessary */
|
||||||
if (i - 1 >= 0)
|
if (i >= 1)
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
offset = i - 1;
|
offset = i - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user