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:
@@ -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;
|
||||
|
@@ -1180,7 +1180,7 @@ wxString wxGetOsDescription()
|
||||
// we can't distinguish between XP 64 and 2003
|
||||
// as they both are 5.2, so examine the product
|
||||
// type to resolve this ambiguity
|
||||
if ( wxIsWindowsServer() == true )
|
||||
if ( wxIsWindowsServer() == 1 )
|
||||
{
|
||||
str.Printf(_("Windows Server 2003 (build %lu"),
|
||||
info.dwBuildNumber);
|
||||
|
Reference in New Issue
Block a user