1
0
Fork 0

Bug 1023, crash on replay.

Fix by Jeff Biggs, commit 7d80b30d28baccf80958d9db488364a9a5c3884b from osgearth branch.
This commit is contained in:
James Turner 2013-11-09 07:13:00 -08:00
parent 49131b5a7a
commit 23fa13c76b

View file

@ -907,7 +907,7 @@ FGReplay::saveTape(const SGPropertyNode* ConfigData)
struct tm *local_tm;
local_tm = localtime( &calendar_time );
char time_str[256];
strftime( time_str, 256, "%Y%02m%02d-%02H%02M%02S", local_tm);
strftime( time_str, 256, "%Y%m%d-%H%M%S", local_tm);
p.concat(time_str);
p.concat(".fgtape");