summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-11-01 20:54:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-11-01 20:54:45 (GMT)
commit8056807369571b593b25fad926daa6a447d757fa (patch)
tree9e354c1e574c59929cc6052bdd116ba78e8f668d /src
parent67c0fe6eddda7ac5ff591ec972425095209d75ff (diff)
Fixed a bug and displayed the binary code again.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@418 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rw-r--r--src/arch/instruction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 8312bf6..f649150 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -690,7 +690,8 @@ static GBufferLine *_g_arch_instruction_print(const GArchInstruction *instr, GCo
result = g_code_buffer_append_new_line(buffer, &instr->range);
- g_buffer_line_fill_for_instr(result, msize/* TODO ! */, msize, content, instr->length, true);
+ g_buffer_line_fill_for_instr(result, msize/* TODO ! */, msize,
+ content, get_mrange_length(&instr->range), true);
/* Instruction proprement dite */