From 151b70ab272e5abcc7bb0a0f2938680f646b52a8 Mon Sep 17 00:00:00 2001 From: Ted Percival Date: Fri, 25 Mar 2005 11:51:08 +0000 Subject: [PATCH] (cosmetic) fix off-by-one in current date sent to logfile --- stepmania/src/StepMania.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 561f8f8f16..e140db04ee 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -889,7 +889,7 @@ static void WriteLogHeader() localtime_r( &cur_time, &now ); LOG->Info( "Log starting %.4d-%.2d-%.2d %.2d:%.2d:%.2d", - 1900+now.tm_year, now.tm_mon+1, now.tm_mday, now.tm_hour+1, now.tm_min, now.tm_sec ); + 1900+now.tm_year, now.tm_mon+1, now.tm_mday, now.tm_hour, now.tm_min, now.tm_sec ); LOG->Trace( " " ); if( g_argc > 1 )