Fix #114667: UI List search broken when class names >32 chars

The list identifier includes the class name and an list_id,
see: WM_uilisttype_to_full_list_id

This requires using UI_MAX_NAME_STR (as noted in doc-string).
This commit is contained in:
Campbell Barton
2024-03-20 14:38:50 +11:00
committed by Thomas Dinges
parent f80b4a4f55
commit 7987c663d9
+2 -2
View File
@@ -295,7 +295,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
struct uiListType *type;
/** Defined as UI_MAX_NAME_STR. */
char list_id[64];
char list_id[128];
/** How items are laid out in the list. */
int layout_type;
@@ -308,7 +308,7 @@ typedef struct uiList { /* some list UI data need to be saved in file */
/* Filtering data. */
/** Defined as UI_MAX_NAME_STR. */
char filter_byname[64];
char filter_byname[128];
int filter_flag;
int filter_sort_flag;