(Menu) Menu hashes update

This commit is contained in:
twinaphex 2015-06-19 08:34:41 +02:00
parent d473c1a4a6
commit 64f76a2549
2 changed files with 4 additions and 2 deletions

View File

@ -388,7 +388,9 @@ static void menu_action_setting_disp_set_label_cheat(
snprintf(s, len, "%s : (%s)",
(global->cheat->cheats[cheat_index].code != NULL)
? global->cheat->cheats[cheat_index].code : "N/A",
global->cheat->cheats[cheat_index].state ? "ON" : "OFF"
global->cheat->cheats[cheat_index].state ?
menu_hash_to_str(MENU_VALUE_ON) :
menu_hash_to_str(MENU_VALUE_OFF)
);
*w = 19;
strlcpy(s2, path, len2);

View File

@ -931,7 +931,7 @@ static int action_ok_rdb_entry(const char *path,
if (!menu_list)
return -1;
strlcpy(tmp, "deferred_rdb_entry_detail", sizeof(tmp));
strlcpy(tmp, menu_hash_to_str(MENU_LABEL_DEFERRED_RDB_ENTRY_DETAIL), sizeof(tmp));
strlcat(tmp, "|", sizeof(tmp));
strlcat(tmp, path, sizeof(tmp));