diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-06 19:26:28 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-06 19:26:28 +1000 |
commit | fe4cc1961888db364bbc70cfe0e7a15ec27a5c5b (patch) | |
tree | db5357973b2e2ef368b6c1f81a701b8ea75b9a9b /source/frontend/StarMainInterface.cpp | |
parent | f75d1f0b5a78bfce56bde4fe57b8d1193a340e74 (diff) |
Change pure string format calls to use fmt::to_string
Diffstat (limited to 'source/frontend/StarMainInterface.cpp')
-rw-r--r-- | source/frontend/StarMainInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/frontend/StarMainInterface.cpp b/source/frontend/StarMainInterface.cpp index 9a47835..9f335b6 100644 --- a/source/frontend/StarMainInterface.cpp +++ b/source/frontend/StarMainInterface.cpp @@ -682,7 +682,7 @@ void MainInterface::update() { } m_messageOverflow++; - m_overflowMessage->message = m_config->overflowMessageText.replace("<count>", strf("{}", m_messageOverflow)); + m_overflowMessage->message = m_config->overflowMessageText.replace("<count>", toString(m_messageOverflow)); m_overflowMessage->cooldown = m_config->messageTime; if (auto oldest = m_messages.sorted([](GuiMessagePtr a, GuiMessagePtr b) { return a->cooldown < b->cooldown; }).maybeFirst()) m_overflowMessage->cooldown = oldest.value()->cooldown; |