From 19cc8176137d6c2d5401ec2888d380fb474c7a86 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 19 Jan 2017 02:25:45 +0100 Subject: [PATCH] This needs to be set this way --- gfx/video_driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index 547f13d6fc..ed55a6f79c 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -2046,12 +2046,11 @@ static bool video_monitor_get_fps(video_frame_info_t *video_info) if (video_info->fps_show) { - char fps_text[64]; snprintf(video_info->fps_text, sizeof(video_info->fps_text), " FPS: %6.1f || ", last_fps); strlcat(video_info->window_text, - fps_text, + video_info->fps_text, sizeof(video_info->window_text)); }