summaryrefslogtreecommitdiff
path: root/src/arch/raw.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-01-21 20:51:27 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-01-21 21:23:58 (GMT)
commitdd33acbff36c0a3ae4618ac5021e74448cad5ce5 (patch)
tree834351b836760fc54533e2f39c4b8202e695c0e3 /src/arch/raw.c
parente3ee1abf12d7868f5eaf759e04a4b4911fcdfa91 (diff)
Defined some raw primitives to write or delete comments.
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r--src/arch/raw.c2
1 files changed, 1 insertions, 1 deletions
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);