Fix incorrect calls to .write()
This commit is contained in:
parent
58b4f4a40f
commit
f4eeb50a6f
@ -1319,7 +1319,7 @@ class Placement(Record):
|
|||||||
if n:
|
if n:
|
||||||
size += write_uint(stream, self.name)
|
size += write_uint(stream, self.name)
|
||||||
else:
|
else:
|
||||||
size += self.name.write(self)
|
size += self.name.write(stream)
|
||||||
if m:
|
if m:
|
||||||
size += write_real(stream, self.magnification)
|
size += write_real(stream, self.magnification)
|
||||||
if a:
|
if a:
|
||||||
@ -1434,7 +1434,7 @@ class Text(Record):
|
|||||||
if n:
|
if n:
|
||||||
size += write_uint(stream, self.string)
|
size += write_uint(stream, self.string)
|
||||||
else:
|
else:
|
||||||
size += self.string.write(self)
|
size += self.string.write(stream)
|
||||||
if l:
|
if l:
|
||||||
size += write_uint(stream, self.layer)
|
size += write_uint(stream, self.layer)
|
||||||
if d:
|
if d:
|
||||||
|
Loading…
Reference in New Issue
Block a user