summaryrefslogtreecommitdiff
path: root/gfx.py
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.py')
-rw-r--r--gfx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.py b/gfx.py
index 8898f77..54cd04c 100644
--- a/gfx.py
+++ b/gfx.py
@@ -467,7 +467,7 @@ class Compressed:
num_alts = 0
# make sure we don't check for alts at the end of the file
- if self.address+2 >= self.end: return False
+ if self.address+3 >= self.end: return False
self.alts.append(self.byte)
self.alts.append(ord(self.image[self.address+1]))