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:
hikerstk 2013-05-26 13:32:26 +00:00
parent ad3bf48b0d
commit bb1b18f602

View File

@ -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);