Skip to content

Commit 2748a10

Browse files
committed
Properly print buffer in direct message function
1 parent 0cc3020 commit 2748a10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/IDebugLog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ void IDebugLog::Log(LogLevel level, const char* fmt)
140140
bool print = (level <= printLevel);
141141

142142
if (log)
143-
Message(formatBuf);
143+
Message(fmt);
144144

145145
if (print)
146-
printf("%s\n", formatBuf);
146+
printf("%s\n", fmt);
147147
}
148148

149149
/**

0 commit comments

Comments
 (0)