Change this to string_is_equal

This commit is contained in:
twinaphex 2017-05-30 18:54:10 +02:00
parent bc7427732c
commit a6dc4430ba

View File

@ -2006,7 +2006,7 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg) {
#ifdef HAVE_MENU
const char *ret = menu_hash_to_str_us_label_enum(msg);
if (ret && string_is_not_equal_fast(ret, "null", 4))
if (ret && !string_is_equal(ret, "null"))
return ret;
#endif