From b8c966575334dd1446800cae234fc3ffbd149fa0 Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Sat, 28 Dec 2024 00:44:56 +0100 Subject: [PATCH] Fix typo --- gfx/video_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/video_driver.c b/gfx/video_driver.c index bc04e761758..d0940ea2ae6 100644 --- a/gfx/video_driver.c +++ b/gfx/video_driver.c @@ -4179,7 +4179,7 @@ void video_driver_frame(const void *data, unsigned width, if ( (video_st->frame_delay_target > 0) || (video_info.runahead && !video_info.runahead_second_instance)) __len += strlcpy(video_info.stat_text + __len, "LATENCY\n", - sizeof(video_info.stat_text - __len)); + sizeof(video_info.stat_text) - __len); /* TODO/FIXME - localize */ if (video_st->frame_delay_target > 0)