mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix screenshot names
This commit is contained in:
parent
6ead8985be
commit
bf7a3d021a
@ -133,7 +133,7 @@ BOOL ss_take_screenshot(IDirectDrawSurfaceImpl* src)
|
||||
}
|
||||
|
||||
strftime(str_time, sizeof(str_time), "%Y-%m-%d_%H-%M-%S", localtime(&t));
|
||||
_snprintf(filename, sizeof(filename), "%s-%s.png", title, str_time);
|
||||
_snprintf(filename, sizeof(filename), "%s_%s.png", title, str_time);
|
||||
|
||||
if (src->bpp == 8 && src->palette)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user