More string_is_equal

This commit is contained in:
twinaphex 2016-01-20 06:05:19 +01:00
parent 6cb55231d9
commit da124969fa
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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);