Skip to content

Commit

Permalink
Remove unsupported char array formatting from Log
Browse files Browse the repository at this point in the history
  • Loading branch information
azihassan authored Oct 4, 2024
1 parent 28e34b4 commit d1886a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/loadsave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class SaveHelper {
//const auto encodedLen = m_cur_;
const auto encodedLen = codec_get_encoded_len(m_cur_);
const char *const password = pfile_get_password();
Log("codec_encode(m_buffer_.get(), {}, {}, \"{}\")", m_cur_, encodedLen, password);
Log("codec_encode(m_buffer_.get(), {}, {})", m_cur_, encodedLen);
codec_encode(m_buffer_.get(), m_cur_, encodedLen, password);
Log("~SaveHelper WriteFile(\"{}\", m_buffer_.get(), {})", m_szFileName_, encodedLen);
m_mpqWriter.WriteFile(m_szFileName_, m_buffer_.get(), encodedLen);
Expand Down

0 comments on commit d1886a7

Please sign in to comment.