From fee6b2026a2791ed2aadd909e8697b52d612a0be Mon Sep 17 00:00:00 2001 From: moculus Date: Fri, 11 Apr 2008 12:25:44 +0000 Subject: [PATCH] fixed hex bug --HG-- branch : pmacs2 --- buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buffer.py b/buffer.py index c9e4e6f..ee2441a 100644 --- a/buffer.py +++ b/buffer.py @@ -537,7 +537,7 @@ class Binary32Buffer(FileBuffer): if groupdiv >= self.numgroups: return None - bytemod = (cx + self.bytepad) % bytespace + bytemod = (cx + self.bytepad - groupdiv) % bytespace if bytemod == 0: return None