rgui does not support unicode, this prevents a buffer overflow if an unsupported language is set

This commit is contained in:
Brad Parker 2017-08-20 14:41:09 -04:00
parent 764f5e22aa
commit ebc9ee192b

View File

@ -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++)
{