From 512e97e377dc841c33f0e25a8175bc7d0ed44f66 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 19 Jul 2005 19:34:27 +0000 Subject: [PATCH] show month as a string --- stepmania/src/ScreenSetTime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenSetTime.cpp b/stepmania/src/ScreenSetTime.cpp index 583e5d2608..dfc8bb4b77 100644 --- a/stepmania/src/ScreenSetTime.cpp +++ b/stepmania/src/ScreenSetTime.cpp @@ -104,7 +104,7 @@ void ScreenSetTime::Update( float fDelta ) m_textValue[minute].SetText( ssprintf("%02d",now.tm_min) ); m_textValue[second].SetText( ssprintf("%02d",now.tm_sec) ); m_textValue[year].SetText( ssprintf("%02d",now.tm_year+1900) ); - m_textValue[month].SetText( ssprintf("%02d",now.tm_mon+1) ); + m_textValue[month].SetText( MonthToString(now.tm_mon) ); m_textValue[day].SetText( ssprintf("%02d",now.tm_mday) ); }