From 2748a1015b7dc72f106298f6734cec3a36bf6a07 Mon Sep 17 00:00:00 2001 From: llde Date: Sat, 7 Sep 2024 15:31:20 +0200 Subject: [PATCH] Properly print buffer in direct message function --- common/IDebugLog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/IDebugLog.cpp b/common/IDebugLog.cpp index 05bb91e..7fd4de5 100644 --- a/common/IDebugLog.cpp +++ b/common/IDebugLog.cpp @@ -140,10 +140,10 @@ void IDebugLog::Log(LogLevel level, const char* fmt) bool print = (level <= printLevel); if (log) - Message(formatBuf); + Message(fmt); if (print) - printf("%s\n", formatBuf); + printf("%s\n", fmt); } /**