mirror of
https://github.com/elliotnunn/macresources.git
synced 2024-10-01 04:54:32 +00:00
Bugfix: use 'append' method for extra byte.
This commit is contained in:
parent
2f94e88cec
commit
7f14013fa3
@ -143,7 +143,7 @@ def GreggDecompress(src, dst, unpackSize, tabSize, comprFlags):
|
||||
pos += 1
|
||||
|
||||
if hasExtraByte: # have a got an extra byte at the end?
|
||||
dst.expand(src[pos]) # copy it over
|
||||
dst.append(src[pos]) # copy it over
|
||||
pos += 1
|
||||
|
||||
#print("Last input position: %d" % pos)
|
||||
|
Loading…
Reference in New Issue
Block a user