summaryrefslogtreecommitdiff
path: root/src/arch/operand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operand.c')
-rw-r--r--src/arch/operand.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/arch/operand.c b/src/arch/operand.c
index 5b36e13..a84018f 100644
--- a/src/arch/operand.c
+++ b/src/arch/operand.c
@@ -212,10 +212,11 @@ void g_arch_operand_set_alt_text(GArchOperand *operand, const char *text, Render
void g_arch_operand_print(const GArchOperand *operand, GBufferLine *line, AsmSyntax syntax)
{
if (operand->alt_text != NULL)
- g_buffer_line_insert_text(line, BLC_ASSEMBLY,
+ g_buffer_line_append_text(line, BLC_ASSEMBLY,
operand->alt_text,
operand->alt_len,
- operand->alt_tag);
+ operand->alt_tag,
+ NULL);
else
G_ARCH_OPERAND_GET_CLASS(operand)->print(operand, line, syntax);