fix issues

- fix usage error of ckid getter in bmap wrapper.
- fix CKObject flag init value error.
- fix CKFileWriter writing empty object name error.
- regulate some statement.
This commit is contained in:
2023-11-30 22:48:40 +08:00
parent 279fa1eccb
commit 74d8f02588
5 changed files with 16 additions and 11 deletions

View File

@ -131,7 +131,7 @@ namespace LibCmo::CK2 {
parser->Read(name_conv.data(), namelen);
m_Ctx->GetUtf8String(name_conv, fileobj.Name);
} else {
fileobj.Name.clear();
XContainer::NSXString::FromCKSTRING(fileobj.Name, nullptr);
}
}
}