From d1896ce4f4d7f698702f229579cbb452cb7cff2e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 28 Oct 2015 02:01:38 +0100 Subject: [PATCH] (RGUI) Titles should uppercase on RGUI --- menu/drivers/rgui.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index 2a1d85e7e6..f7209b82cb 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -25,6 +25,7 @@ #include #include #include +#include #include "menu_generic.h" @@ -537,6 +538,8 @@ static void rgui_render(void) menu_hash_to_str(MENU_VALUE_BACK), TITLE_COLOR(settings)); + strlcpy(title_buf, string_to_upper(title_buf), sizeof(title_buf)); + blit_line(fb_data, fb_pitch, RGUI_TERM_START_X(fb_width) + (RGUI_TERM_WIDTH(fb_width) - strlen(title_buf)) * FONT_WIDTH_STRIDE / 2,