This commit is contained in:
Kovid Goyal 2011-09-02 15:03:58 -06:00
parent bc55890593
commit 368474934b

View File

@ -49,7 +49,7 @@ class CNCX(object): # {{{
if 0xfbf8 - buf.tell() < 6 + len(raw):
# Records in PDB files cannot be larger than 0x10000, so we
# stop well before that.
pad = 0xfbf8 - self._ctoc.tell()
pad = 0xfbf8 - buf.tell()
buf.write(b'\0' * pad)
self.records.append(buf.getvalue())
buf.truncate(0)