fix some harmless compilation in (release) MSVC build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-05-27 22:48:54 +00:00
parent 0411a5f92a
commit 575cabba69
2 changed files with 5 additions and 2 deletions

View File

@@ -478,7 +478,10 @@ int wxConsoleStderr::GetCommandHistory(wxWxCharBuffer& buf) const
{
buf.extend(len);
const int len2 = m_pfnGetConsoleCommandHistory(buf.data(), len, CMD_EXE);
wxASSERT_MSG( len2 == len, _T("failed getting history?") );
if ( len2 != len )
{
wxFAIL_MSG( _T("failed getting history?") );
}
}
return len;