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
608cb6fa68
commit
6ead8985be
@ -132,7 +132,7 @@ BOOL ss_take_screenshot(IDirectDrawSurfaceImpl* src)
|
||||
}
|
||||
}
|
||||
|
||||
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), "%s-%s.png", title, str_time);
|
||||
|
||||
if (src->bpp == 8 && src->palette)
|
||||
|
Loading…
x
Reference in New Issue
Block a user