Fixes to allow compilation with wxUSE_STD_STRING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -591,7 +591,7 @@ bool DocGeneratorBase::SaveDocument( const char* fname,
|
||||
{
|
||||
FILE* fp = fopen( fname, fopenOptions );
|
||||
|
||||
if ( (int)fp == -1 ) return 0;
|
||||
if ( !fp ) return 0;
|
||||
|
||||
ScriptStream stm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user