forked from len0rd/rockbox
list allow VOICE_ONLY strings
Change-Id: Ie42ba8de986a10f68e05af0ecdb735b020aa9d1a
This commit is contained in:
parent
57713f6308
commit
ff0055ba6b
1 changed files with 4 additions and 1 deletions
|
|
@ -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')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue