Fixed bug that wrote incomplete wxExpr files (missing fclose)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
deb2fec01e
commit
469eb89edc
@ -1031,7 +1031,9 @@ bool wxExprDatabase::Write(const wxString& fileName)
|
||||
if (!stream)
|
||||
return FALSE;
|
||||
|
||||
return Write(stream);
|
||||
bool success = Write(stream);
|
||||
fclose(stream);
|
||||
return success;
|
||||
}
|
||||
|
||||
bool wxExprDatabase::Write(FILE *stream)
|
||||
|
Loading…
Reference in New Issue
Block a user