summaryrefslogtreecommitdiff
path: root/plugins/androhelpers/switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/androhelpers/switch.c')
-rw-r--r--plugins/androhelpers/switch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/androhelpers/switch.c b/plugins/androhelpers/switch.c
index 20b2119..2434897 100644
--- a/plugins/androhelpers/switch.c
+++ b/plugins/androhelpers/switch.c
@@ -286,7 +286,7 @@ static void mark_all_switch_cases(const GArchInstruction *instr, const dex_switc
fulldesc = (char *)calloc(len + 1, sizeof(char));
len = snprintf(fulldesc, len + 1, _("; Case for value 0x%08x (%d)"), value, value);
- g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, fulldesc, len, RTT_INDICATION);
+ g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD, fulldesc, len, RTT_INDICATION, NULL);
free(fulldesc);
@@ -304,8 +304,8 @@ static void mark_all_switch_cases(const GArchInstruction *instr, const dex_switc
g_buffer_line_start_merge_at(line, BLC_ASSEMBLY_HEAD);
fulldesc = _("; Default case");
- g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD,
- fulldesc, strlen(fulldesc), RTT_INDICATION);
+ g_buffer_line_append_text(line, BLC_ASSEMBLY_HEAD,
+ fulldesc, strlen(fulldesc), RTT_INDICATION, NULL);
}