mirror of
https://github.com/elliotnunn/macresources.git
synced 2026-04-20 22:16:40 +00:00
Bugfix: use 'append' method for extra byte.
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user