From bb1b18f602436c225d465a884e8ab5388f8c8f53 Mon Sep 17 00:00:00 2001 From: hikerstk Date: Sun, 26 May 2013 13:32:26 +0000 Subject: [PATCH] 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 --- src/graphics/irr_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index 94b42451d..947f78a2a 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -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);