fix screenshot names
This commit is contained in:
parent
9e000720e4
commit
6cc99330bd
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ BOOL ss_take_screenshot(IDirectDrawSurfaceImpl* src)
|
||||||
CreateDirectoryA(g_config.screenshot_dir, NULL);
|
CreateDirectoryA(g_config.screenshot_dir, NULL);
|
||||||
|
|
||||||
strftime(str_time, sizeof(str_time), "%Y-%m-%d_%H-%M-%S", localtime(&t));
|
strftime(str_time, sizeof(str_time), "%Y-%m-%d_%H-%M-%S", localtime(&t));
|
||||||
_snprintf(filename, sizeof(filename) - 1, "%s%s-%s.png", g_config.screenshot_dir, title, str_time);
|
_snprintf(filename, sizeof(filename) - 1, "%s%s_%s.png", g_config.screenshot_dir, title, str_time);
|
||||||
|
|
||||||
if (src->bpp == 8 && src->palette)
|
if (src->bpp == 8 && src->palette)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue