[keel] Fix variable name

This commit is contained in:
Gary Talent 2023-04-01 19:16:34 -05:00
parent 272aba8eb5
commit bccc58c463

@ -14,11 +14,11 @@ ox::Result<ox::UUID> readUuidHeader(const char *buff, std::size_t buffLen) noexc
if (buffLen < K1HdrSz) { if (buffLen < K1HdrSz) {
return OxError(1, "Insufficient data to contain complete Nostalgia header"); return OxError(1, "Insufficient data to contain complete Nostalgia header");
} }
ox::StringView n1Hdr = "K1;"; constexpr ox::StringView k1Hdr = "K1;";
if (n1Hdr == buff) { if (k1Hdr == buff) {
return OxError(2, "No Nostalgia asset header data"); return OxError(2, "No Nostalgia asset header data");
} }
return ox::UUID::fromString(ox::StringView(buff + n1Hdr.bytes(), 36)); return ox::UUID::fromString(ox::StringView(buff + k1Hdr.bytes(), 36));
} }
ox::Result<ox::ModelObject> readAsset(ox::TypeStore *ts, const ox::Buffer &buff) noexcept { ox::Result<ox::ModelObject> readAsset(ox::TypeStore *ts, const ox::Buffer &buff) noexcept {