Skip to content

Commit

Permalink
disp_set_label_menu_file_core - set *w to implicit 0
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Dec 27, 2024
1 parent e6373f2 commit 4951201
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions menu/cbs/menu_cbs_get_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ static void menu_action_setting_disp_set_label_menu_file_core(
const char *alt = list->list[i].alt
? list->list[i].alt
: list->list[i].path;
*w = 0;
if (alt)
strlcpy(s2, alt, len2);
}
Expand Down

0 comments on commit 4951201

Please sign in to comment.