fix fatal CKStateChunk read error. fix return statement in CKFile
This commit is contained in:
@ -11,7 +11,7 @@ namespace LibCmo::CK2 {
|
||||
|
||||
CKERROR CKFileWriter::Save(CKSTRING u8_filename) {
|
||||
// check document status
|
||||
if (this->m_Done) CKERROR::CKERR_CANCELLED;
|
||||
if (this->m_Done) return CKERROR::CKERR_CANCELLED;
|
||||
|
||||
// encoding conv helper
|
||||
XContainer::XString name_conv;
|
||||
|
Reference in New Issue
Block a user