diff options
Diffstat (limited to 'src/decomp/expr/array.c')
-rw-r--r-- | src/decomp/expr/array.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decomp/expr/array.c b/src/decomp/expr/array.c index d335f61..5c18c11 100644 --- a/src/decomp/expr/array.c +++ b/src/decomp/expr/array.c @@ -239,12 +239,12 @@ static GBufferLine *g_array_access_print(const GArrayAccess *expr, GCodeBuffer * result = g_dec_instruction_print(G_DEC_INSTRUCTION(expr->array), buffer, line, output); - g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "[", 1, RTT_RAW); + g_buffer_line_append_text(result, BLC_ASSEMBLY_HEAD, "[", 1, RTT_RAW, NULL); result = g_dec_instruction_print(G_DEC_INSTRUCTION(expr->index), buffer, result, output); - g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "]", 1, RTT_RAW); + g_buffer_line_append_text(result, BLC_ASSEMBLY_HEAD, "]", 1, RTT_RAW, NULL); return result; |