Skip to content

Commit

Permalink
Updated Kits for April 24, 2017 release
Browse files Browse the repository at this point in the history
  • Loading branch information
walbourn committed May 5, 2017
1 parent 2ee19c1 commit 2a9a0db
Show file tree
Hide file tree
Showing 373 changed files with 48,138 additions and 44,593 deletions.
4 changes: 2 additions & 2 deletions Kits/ATGTK/TextConsole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void TextConsole::Clear()


_Use_decl_annotations_
void TextConsole::Write(_In_z_ const wchar_t *str)
void TextConsole::Write(const wchar_t *str)
{
std::lock_guard<std::mutex> lock(m_mutex);

Expand Down Expand Up @@ -132,7 +132,7 @@ void TextConsole::Format(const wchar_t* strFormat, ...)
if (m_tempBuffer.size() < len)
m_tempBuffer.resize(len);

memset(m_tempBuffer.data(), 0, len);
memset(m_tempBuffer.data(), 0, sizeof(wchar_t) * len);

vswprintf_s(m_tempBuffer.data(), m_tempBuffer.size(), strFormat, argList);

Expand Down
Loading

0 comments on commit 2a9a0db

Please sign in to comment.