1
0
Fork 0
forked from len0rd/rockbox

list allow VOICE_ONLY strings

Change-Id: Ie42ba8de986a10f68e05af0ecdb735b020aa9d1a
This commit is contained in:
William Wilgus 2023-10-09 08:40:06 -04:00
parent 57713f6308
commit ff0055ba6b

View file

@ -332,7 +332,10 @@ void list_draw(struct screen *display, struct gui_synclist *list)
bool is_selected = false;
s = list->callback_get_item_name(i, list->data, entry_buffer,
sizeof(entry_buffer));
entry_name = P2STR(s);
if (P2ID((unsigned char *)s) > VOICEONLY_DELIMITER)
entry_name = "";
else
entry_name = P2STR(s);
while (*entry_name == '\t')
{