Permalink
Browse files

fixed small bug with pattern image dumping

  • Loading branch information...
1 parent 1fec9b8 commit 501aa3127df24b3db147509f2d7775edd6764455 @ladyada ladyada committed Oct 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 dumppattern.py
View
@@ -154,7 +154,7 @@ def bytesForMemo(rows):
b = pointer - i
print "\t",hex(b),": ",hex(bf.getIndexedByte(b)),
for j in range(8):
- if (b & (1<<j)):
+ if (bf.getIndexedByte(b) & (1<<j)):
print "*",
else:
print " ",

0 comments on commit 501aa31

Please sign in to comment.