summaryrefslogtreecommitdiff
path: root/src/arch/undefined.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/undefined.c')
-rw-r--r--src/arch/undefined.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/undefined.c b/src/arch/undefined.c
index 9c944bc..e69a399 100644
--- a/src/arch/undefined.c
+++ b/src/arch/undefined.c
@@ -254,7 +254,7 @@ static GBufferLine *g_undef_instruction_print(GUndefInstruction *instr, GCodeBuf
key = g_arch_instruction_get_keyword(base, syntax);
klen = strlen(key);
- g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, key, klen, RTT_ERROR);
+ g_buffer_line_append_text(result, BLC_ASSEMBLY_HEAD, key, klen, RTT_ERROR, NULL);
return result;