diff options
author | Nikolay <nickvnuk@gmail.com> | 2021-08-27 18:53:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 18:53:51 +0200 |
commit | 2a69f34f93b1188c479fe385780b0ca768f65d35 (patch) | |
tree | 2bc1f11653ad1f5918e1defaded157402ece1005 /src/control | |
parent | Merge pull request #1318 from Nick007J/lcs (diff) | |
download | re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar.gz re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar.bz2 re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar.lz re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar.xz re3-2a69f34f93b1188c479fe385780b0ca768f65d35.tar.zst re3-2a69f34f93b1188c479fe385780b0ca768f65d35.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/OnscreenTimer.cpp | 2 |
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); } |