[studio] Remove null terminator from OC output
All checks were successful
Build / build (push) Successful in 2m32s

This commit is contained in:
Gary Talent 2024-09-28 18:10:17 -05:00
parent 1a9f0d49e7
commit a7cf267385

View File

@ -133,7 +133,7 @@ ox::Error Project::writeObj(ox::StringViewCR path, T const&obj, ox::ClawFormat f
oxRequireM(buff, ox::writeClaw(obj, fmt));
// write to FS
oxReturnError(mkdir(parentDir(path)));
oxReturnError(writeBuff(path, buff));
oxReturnError(writeBuff(path, ox::BufferView{buff} + (fmt == ox::ClawFormat::Organic)));
// write type descriptor
if (m_typeStore.get<T>().error) {
oxReturnError(ox::buildTypeDef(&m_typeStore, &obj));