Fix incorrect calls to .write()

lethe/LATEST
Jan Petykiewicz 4 years ago
parent 58b4f4a40f
commit f4eeb50a6f

@ -1319,7 +1319,7 @@ class Placement(Record):
if n:
size += write_uint(stream, self.name)
else:
size += self.name.write(self)
size += self.name.write(stream)
if m:
size += write_real(stream, self.magnification)
if a:
@ -1434,7 +1434,7 @@ class Text(Record):
if n:
size += write_uint(stream, self.string)
else:
size += self.string.write(self)
size += self.string.write(stream)
if l:
size += write_uint(stream, self.layer)
if d:

Loading…
Cancel
Save