summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-18 10:30:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-18 10:38:02 (GMT)
commite5b5f9f4df06fbf08b60c039cf6dbdc4dce48784 (patch)
tree31a372b51a4f75d1a0692a47588e21069f84cf98 /plugins
parentd25dda121501e9cc36b43c15c76d1e00d0173f7d (diff)
Cleaned code.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dalvik/link.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/dalvik/link.c b/plugins/dalvik/link.c
index c37abb8..8eda3c9 100644
--- a/plugins/dalvik/link.c
+++ b/plugins/dalvik/link.c
@@ -61,10 +61,6 @@ typedef struct _case_comment
} case_comment;
-/* REMME */
-#define COMMENT_LINE_SEP "\n"
-
-
/******************************************************************************
* *
@@ -339,8 +335,7 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor *
for (k = 0; k < comment->count; k++)
{
if (k > 0)
- /* FIXME : encapsuler ! */
- msg = stradd(msg, COMMENT_LINE_SEP);
+ msg = stradd(msg, "\n");
asprintf(&int_val, _("Case %d:"), comment->keys[k]);
msg = stradd(msg, int_val);
@@ -358,8 +353,7 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor *
msg = strdup(_("Defaut case:"));
else
{
- /* FIXME : encapsuler ! */
- msg = stradd(msg, COMMENT_LINE_SEP);
+ msg = stradd(msg, "\n");
msg = stradd(msg, _("Defaut case"));
}