diff options
author | goldnchild <48141308+goldnchild@users.noreply.github.com> | 2021-12-25 07:48:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-25 16:48:45 +0100 |
commit | b4c4ced84f8f5d218237f2a9c1f9585db4cb1fea (patch) | |
tree | f893e8ef60769e22c4ef51deac9f12ed4303d1fb /src/emu | |
parent | 1d2d28e6e44fbd27835608e9a70dad8871b8c0fd (diff) |
expand buffer size from 15 to 16 for %t time in video_manager::open_next (#9039)
Diffstat (limited to 'src/emu')
-rw-r--r-- | src/emu/video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/video.cpp b/src/emu/video.cpp index 652272f680b..5cb21b3f849 100644 --- a/src/emu/video.cpp +++ b/src/emu/video.cpp @@ -1129,7 +1129,7 @@ std::error_condition video_manager::open_next(emu_file &file, const char *extens if (pos_time != -1) { - char t_str[15]; + char t_str[16]; const std::time_t cur_time = std::time(nullptr); strftime(t_str, sizeof(t_str), "%Y%m%d_%H%M%S", std::localtime(&cur_time)); strreplace(snapstr, "%t", t_str); |