mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-24 05:31:15 +00:00
More string_is_equal
This commit is contained in:
parent
6cb55231d9
commit
da124969fa
@ -705,7 +705,7 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||
{
|
||||
const char *ret = menu_hash_to_str_us_label(hash);
|
||||
|
||||
if (ret && strcmp(ret, "null") != 0)
|
||||
if (ret && !string_is_equal(ret, "null"))
|
||||
return ret;
|
||||
|
||||
switch (hash)
|
||||
|
@ -638,7 +638,7 @@ const char *menu_hash_to_str_us(uint32_t hash)
|
||||
{
|
||||
const char *ret = menu_hash_to_str_us_label(hash);
|
||||
|
||||
if (ret && strcmp(ret, "null") != 0)
|
||||
if (ret && !string_is_equal(ret, "null"))
|
||||
return ret;
|
||||
|
||||
switch (hash)
|
||||
|
@ -59,7 +59,7 @@ const char *menu_hash_to_str(uint32_t hash)
|
||||
break;
|
||||
}
|
||||
|
||||
if (ret && strcmp(ret, "null") != 0)
|
||||
if (ret && !string_is_equal(ret, "null"))
|
||||
return ret;
|
||||
|
||||
return menu_hash_to_str_us(hash);
|
||||
|
Loading…
x
Reference in New Issue
Block a user