From 2a69f34f93b1188c479fe385780b0ca768f65d35 Mon Sep 17 00:00:00 2001 From: Nikolay Date: Fri, 27 Aug 2021 19:53:51 +0300 Subject: [PATCH] fix --- src/control/OnscreenTimer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control/OnscreenTimer.cpp b/src/control/OnscreenTimer.cpp index fc56f7cb..45c18a7c 100644 --- a/src/control/OnscreenTimer.cpp +++ b/src/control/OnscreenTimer.cpp @@ -209,7 +209,7 @@ void COnscreenTimerEntry::ProcessForDisplayClock() { uint32 time = *CTheScripts::GetPointerToScriptVariable(m_nClockOffset); - sprintf(m_aClockBuffer, "%02d:%02d", time / 1000 / 60 % 100, + sprintf(m_aClockBuffer, "%d:%02d", time / 1000 / 60 % 100, time / 1000 % 60); }