mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Initialize char variables
This commit is contained in:
parent
b0cae5eafb
commit
88b1c3ed4c
@ -277,8 +277,11 @@ static void gfx_ctx_drm_update_window_title(void *data)
|
||||
char buf_fps[128];
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
buf[0] = buf_fps[0] = '\0';
|
||||
|
||||
video_monitor_get_fps(buf, sizeof(buf),
|
||||
buf_fps, sizeof(buf_fps));
|
||||
|
||||
if (settings->fps_show)
|
||||
runloop_msg_queue_push( buf_fps, 1, 1, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user