Merge pull request #7672 from grant2258/master

add missing %s
This commit is contained in:
Twinaphex 2018-11-28 09:40:29 +01:00 committed by GitHub
commit c24fbb7a12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2464,7 +2464,7 @@ void video_driver_frame(const void *data, unsigned width,
(uint64_t)video_driver_frame_count);
}
snprintf(video_driver_window_title, sizeof(video_driver_window_title),
"%s%s%s", title, video_info.fps_text,
"%s%s%s%s", title, video_info.fps_text,
video_info.fps_show ? video_info.fps_text : "",
video_info.framecount_show ? frames_text : "");
}