diff options
Diffstat (limited to 'src/decomp/expr/text.c')
-rw-r--r-- | src/decomp/expr/text.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/decomp/expr/text.c b/src/decomp/expr/text.c index 9991b85..d4d5f85 100644 --- a/src/decomp/expr/text.c +++ b/src/decomp/expr/text.c @@ -150,9 +150,9 @@ GDecInstruction *g_str_expression_new(const char *value) static GBufferLine *g_str_expression_print(const GStrExpression *expr, GCodeBuffer *buffer, GBufferLine *line, GLangOutput *output) { - g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, "\"", 1, RTT_STRING); - g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, expr->value, expr->len, RTT_STRING); - g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, "\"", 1, RTT_STRING); + g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, "\"", 1, RTT_STRING, NULL); + g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, expr->value, expr->len, RTT_STRING, NULL); + g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, "\"", 1, RTT_STRING, NULL); return line; |