From d95350276ea5737d6f39a85c4200633bd6e5e5ac Mon Sep 17 00:00:00 2001 From: Rob McMullen Date: Mon, 25 Apr 2016 12:27:30 -0700 Subject: [PATCH] Fixed #51: changed comment labels to use segment label rather than index into raw * also mistakenly specified wrong issue number; fixed in 49cdce91bc6509efe80d58d2c2ba2fc4767642f4 --- omnivore/tasks/hex_edit/panes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omnivore/tasks/hex_edit/panes.py b/omnivore/tasks/hex_edit/panes.py index d5ead2d2..b880ed4b 100644 --- a/omnivore/tasks/hex_edit/panes.py +++ b/omnivore/tasks/hex_edit/panes.py @@ -133,7 +133,7 @@ def process_comment(self, item, segment_seen): segment_font = self.italic_font segment, index = e.find_in_user_segment(item[0]) if segment is not None: - label = "%04x" % index + label = segment.label(index) else: index = item[0] label = "%04x" % index