Skip to content

Commit

Permalink
Properly print buffer in direct message function
Browse files Browse the repository at this point in the history
  • Loading branch information
llde committed Sep 7, 2024
1 parent 0cc3020 commit 2748a10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/IDebugLog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit 2748a10

Please sign in to comment.