summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-10-04 13:46:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-10-04 13:46:07 (GMT)
commit5d33469143778e8ab22b362b7a647f53cd6fc840 (patch)
tree9f6f9327074db6486df38c44203e27899f413f98 /src/arch/x86
parent070649a6c2d434208a202d4f09a3256cd3bbfe78 (diff)
Fixed the rendering of ModRM operands.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@125 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/operand.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/arch/x86/operand.c b/src/arch/x86/operand.c
index 2c27176..eb6f5f3 100644
--- a/src/arch/x86/operand.c
+++ b/src/arch/x86/operand.c
@@ -623,9 +623,15 @@ static void g_x86_mod_rm_operand_add_to_gtk_buffer(const GX86ModRMOperand *opera
format, syntax, buffer, iter);
if (operand->base != NULL)
+ {
+ g_content_exporter_insert_with_gtk_tag(G_CONTENT_EXPORTER(operand), buffer, iter,
+ "+", 1, RTT_SIGNS);
+
g_content_exporter_add_arch_to_gtk_buffer(G_CONTENT_EXPORTER(operand->base),
format, syntax, buffer, iter);
+ }
+
if (operand->displacement != NULL)
{
if (g_imm_operand_is_negative(operand->displacement))