From 27553e2363b84576925ea41bba8b970ae72cb63f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Thu, 29 Oct 2015 02:54:26 +0700 Subject: [PATCH] (GLUI) Use uppercase for tab names --- menu/drivers/glui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index 912508e053..22f194d8a9 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include @@ -721,6 +722,7 @@ static void glui_frame(void) break; } + strlcpy(tab_label, string_to_upper(tab_label), sizeof(tab_label)); glui_blit_line(width / (GLUI_SYSTEM_TAB_END+1) * (i+0.5), header_height - header_height/8, width, height, tab_label, tab_color, TEXT_ALIGN_CENTER);