From f8ba41d76ed4d4ee5ce0dfefe608a5ff6c089413 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Tue, 29 Jan 2019 21:24:22 -0500 Subject: [PATCH] C89 buildfix --- menu/drivers/rgui.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index 01ca4e942d..537699f250 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -1610,10 +1610,11 @@ static void rgui_render(void *data, bool is_idle) char title_buf[255]; char core_title[64]; char core_title_buf[64]; - title[0] = title_buf[0] = core_title[0] = core_title_buf[0] = '\0'; /* Need this in two places, so cache here */ unsigned timedate_x = RGUI_TERM_WIDTH(fb_width) * FONT_WIDTH_STRIDE - RGUI_TERM_START_X(fb_width); + title[0] = title_buf[0] = core_title[0] = core_title_buf[0] = '\0'; + menu_entries_get_title(title, sizeof(title)); ticker.s = title_buf;