Skip to content

Commit 29c4551

Browse files
committed
Increase temp buffer, needs to be this big or else statistics text
will be cut off
1 parent 9eeba9e commit 29c4551

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gfx/font_driver.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,9 @@ void font_driver_render_msg(void *data, const char *msg,
796796
if (renderer && renderer->render_msg)
797797
{
798798
#ifdef HAVE_LANGEXTRA
799-
unsigned char tmp_buffer[512];
799+
/* It needs to be this big because of the Statistics text
800+
* unfortunately */
801+
unsigned char tmp_buffer[1536];
800802
char *new_msg = font_driver_reshape_msg(msg,
801803
tmp_buffer, sizeof(tmp_buffer));
802804
#else

0 commit comments

Comments
 (0)