C89 buildfix

This commit is contained in:
Brad Parker 2019-01-29 21:24:22 -05:00
parent 21f043201d
commit f8ba41d76e

View File

@ -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;