Fix #974: space in screenshot file names. Thanks to curaga for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ad3bf48b0d
commit
bb1b18f602
@ -1582,7 +1582,7 @@ void IrrDriver::doScreenShot()
|
||||
time ( &rawtime );
|
||||
tm* timeInfo = localtime( &rawtime );
|
||||
char time_buffer[256];
|
||||
sprintf(time_buffer, "%i.%02i.%02i %02i.%02i.%02i",
|
||||
sprintf(time_buffer, "%i.%02i.%02i_%02i.%02i.%02i",
|
||||
timeInfo->tm_year + 1900, timeInfo->tm_mon+1,
|
||||
timeInfo->tm_mday, timeInfo->tm_hour,
|
||||
timeInfo->tm_min, timeInfo->tm_sec);
|
||||
|
Loading…
Reference in New Issue
Block a user