mirror of
https://github.com/libretro/RetroArch.git
synced 2025-03-02 14:46:25 +00:00
rgui does not support unicode, this prevents a buffer overflow if an unsupported language is set
This commit is contained in:
parent
764f5e22aa
commit
ebc9ee192b
@ -170,7 +170,7 @@ static void blit_line(int x, int y,
|
||||
while (!string_is_empty(message))
|
||||
{
|
||||
unsigned i, j;
|
||||
uint32_t symbol = utf8_walk(&message);
|
||||
char symbol = *message++;
|
||||
|
||||
for (j = 0; j < FONT_HEIGHT; j++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user