(Ozone) Sublabel scope test (#15670)

This commit is contained in:
sonninnos 2023-09-04 01:20:45 +03:00 committed by GitHub
parent 4d0110b278
commit 8a510451f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5656,6 +5656,7 @@ border_iterate:
{
char rich_label[255];
char entry_value_ticker[255];
char wrapped_sublabel_str[MENU_SUBLABEL_MAX_LENGTH];
uintptr_t texture;
menu_entry_t entry;
gfx_animation_ctx_ticker_t ticker;
@ -5764,7 +5765,6 @@ border_iterate:
if (node->wrap && !string_is_empty(sublabel_str))
{
int sublabel_max_width = ozone_get_sublabel_max_width(ozone, video_info_width, entry_padding);
char wrapped_sublabel_str[MENU_SUBLABEL_MAX_LENGTH];
wrapped_sublabel_str[0] = '\0';
(ozone->word_wrap)(wrapped_sublabel_str,