From ff0055ba6be993731de8d2082da737d2b246de3d Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Mon, 9 Oct 2023 08:40:06 -0400 Subject: list allow VOICE_ONLY strings Change-Id: Ie42ba8de986a10f68e05af0ecdb735b020aa9d1a --- apps/gui/bitmap/list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 1c9b73a5fe..c10f0082d3 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -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') { -- cgit v1.2.3