fix attempted access to xname.string -> xname.bstring

This commit is contained in:
Jan Petykiewicz 2020-04-18 15:40:35 -07:00
parent cfb3e90d71
commit 8fb2f2b594

View File

@ -340,7 +340,7 @@ class OasisLayout:
for refnum, name in self.propnames.items())
xnames_offset = OffsetEntry(False, size)
size += sum(records.XName(x.attribute, x.string, refnum).dedup_write(stream, modals)
size += sum(records.XName(x.attribute, x.bstring, refnum).dedup_write(stream, modals)
for refnum, x in self.xnames.items())
textstrings_offset = OffsetEntry(False, size)