summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/instruction.c2
-rw-r--r--src/arch/raw.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c
index 184d98c..021bdd4 100644
--- a/src/arch/instruction.c
+++ b/src/arch/instruction.c
@@ -895,7 +895,7 @@ static GBufferLine *_g_arch_instruction_print(const GArchInstruction *instr, GCo
size_t klen; /* Taille de ce mot clef */
size_t i; /* Boucle de parcours */
- result = g_code_buffer_append_new_line(buffer, &instr->range);
+ result = g_code_buffer_prepare_new_line(buffer, &instr->range);
g_buffer_line_add_flag(result, BLF_HAS_CODE);
diff --git a/src/arch/raw.c b/src/arch/raw.c
index 57860c0..d04f141 100644
--- a/src/arch/raw.c
+++ b/src/arch/raw.c
@@ -366,7 +366,7 @@ static GBufferLine *g_raw_instruction_print(const GRawInstruction *instr, GCodeB
else
{
- result = g_code_buffer_append_new_line(buffer, &base->range);
+ result = g_code_buffer_prepare_new_line(buffer, &base->range);
g_buffer_line_add_flag(result, BLF_HAS_CODE);