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:
@@ -1031,7 +1031,9 @@ bool wxExprDatabase::Write(const wxString& fileName)
|
|||||||
if (!stream)
|
if (!stream)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
return Write(stream);
|
bool success = Write(stream);
|
||||||
|
fclose(stream);
|
||||||
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxExprDatabase::Write(FILE *stream)
|
bool wxExprDatabase::Write(FILE *stream)
|
||||||
|
Reference in New Issue
Block a user