summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2021-08-27 19:53:51 +0300
committerGitHub <noreply@github.com>2021-08-27 19:53:51 +0300
commit2a69f34f93b1188c479fe385780b0ca768f65d35 (patch)
tree2bc1f11653ad1f5918e1defaded157402ece1005 /src
parent6d1d60f6993f936a0fa89fe5dacbec399e741012 (diff)
fix
Diffstat (limited to 'src')
-rw-r--r--src/control/OnscreenTimer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}