mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
Merge pull request #10673 from jdgleaver/window-title-fix
NUL terminate 'fps_text' string
This commit is contained in:
commit
69ec94fe47
@ -22636,6 +22636,9 @@ static void video_driver_frame(const void *data, unsigned width,
|
||||
bool widgets_active = gfx_widgets_active();
|
||||
#endif
|
||||
|
||||
fps_text[0] = '\0';
|
||||
video_driver_msg[0] = '\0';
|
||||
|
||||
if (!video_driver_active)
|
||||
return;
|
||||
|
||||
@ -22787,8 +22790,6 @@ static void video_driver_frame(const void *data, unsigned width,
|
||||
pitch = output_pitch;
|
||||
}
|
||||
|
||||
video_driver_msg[0] = '\0';
|
||||
|
||||
if (runloop_msg_queue_size > 0)
|
||||
{
|
||||
/* If widgets are currently enabled, then
|
||||
|
Loading…
x
Reference in New Issue
Block a user