SaveFile() does not set error when failing to open the file (for writing).
As a result, if this happens, SaveFile() will return false, but Error() will return false, and ErrorId() will return TIXML_NO_ERROR.
Log in to post a comment.