mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 19:21:09 +00:00
NUL terminate 'fps_text' string
This commit is contained in:
parent
4713bf5cef
commit
41cee583e3
@ -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