(GLUI) Use uppercase for tab names
This commit is contained in:
parent
d779ffcf13
commit
27553e2363
|
@ -19,6 +19,7 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <string/stdstring.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include <retro_log.h>
|
#include <retro_log.h>
|
||||||
|
@ -721,6 +722,7 @@ static void glui_frame(void)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
strlcpy(tab_label, string_to_upper(tab_label), sizeof(tab_label));
|
||||||
glui_blit_line(width / (GLUI_SYSTEM_TAB_END+1) * (i+0.5),
|
glui_blit_line(width / (GLUI_SYSTEM_TAB_END+1) * (i+0.5),
|
||||||
header_height - header_height/8,
|
header_height - header_height/8,
|
||||||
width, height, tab_label, tab_color, TEXT_ALIGN_CENTER);
|
width, height, tab_label, tab_color, TEXT_ALIGN_CENTER);
|
||||||
|
|
Loading…
Reference in New Issue