set_label_shader_watch_for_changes - simplify

This commit is contained in:
twinaphex 2019-09-16 20:02:49 +02:00
parent b9e8e95498
commit 86839db417

View File

@ -272,9 +272,9 @@ static void menu_action_setting_disp_set_label_shader_watch_for_changes(
if (settings) if (settings)
{ {
if (settings->bools.video_shader_watch_files) if (settings->bools.video_shader_watch_files)
snprintf(s, len, "%s", msg_hash_to_str(MENU_ENUM_LABEL_VALUE_TRUE)); strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_TRUE), len);
else else
snprintf(s, len, "%s", msg_hash_to_str(MENU_ENUM_LABEL_VALUE_FALSE)); strlcpy(s, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_FALSE), len);
} }
} }