From 00ac1d566dacf460e87851e78eded52099a3ada3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Sat, 28 Feb 2026 04:20:09 +0000 Subject: [PATCH] spdlog: don't pass printf format string (#6307) --- soh/soh/Enhancements/custom-message/CustomMessageManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soh/soh/Enhancements/custom-message/CustomMessageManager.cpp b/soh/soh/Enhancements/custom-message/CustomMessageManager.cpp index 7f8dace73..cef9be452 100644 --- a/soh/soh/Enhancements/custom-message/CustomMessageManager.cpp +++ b/soh/soh/Enhancements/custom-message/CustomMessageManager.cpp @@ -725,7 +725,7 @@ void CustomMessage::EncodeColors(std::string& str) const { if (const size_t secondHashtag = str.find('#', firstHashtag + 1); secondHashtag != std::string::npos) { str.replace(secondHashtag, 1, "%w"); } else { - SPDLOG_DEBUG("non-matching hashtags in string: \"%s\"", str); + SPDLOG_DEBUG("non-matching hashtags in string: \"{}\"", str); } } }