summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-06 17:38:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-06 17:38:09 (GMT)
commite59544bb61b0043d82946918ece144cae2749d53 (patch)
tree553447beaf577d573076a2bdf3f694f134c8d8e6 /src/analysis
parentebfc6a8ebcef2b42beb6ef12e4946bb2f73f2723 (diff)
Fixed many bugs in the code cache and the width tracker objects.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/db/items/comment.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/analysis/db/items/comment.c b/src/analysis/db/items/comment.c
index 8155fc5..b879d08 100644
--- a/src/analysis/db/items/comment.c
+++ b/src/analysis/db/items/comment.c
@@ -654,24 +654,24 @@ static bool g_db_comment_run(GDbComment *comment, GLoadedBinary *binary, bool ap
if (comment->inlined)
{
-#define RUN_INLINED_COMMENT(idx, new, old) \
- if (apply) \
- { \
- old = g_buffer_cache_delete_type_at(cache, idx, G_TYPE_DB_COMMENT, false, false); \
- \
- g_buffer_cache_insert_at(cache, idx, G_LINE_GENERATOR(new), false, false); \
- \
- } \
- else \
- { \
- g_buffer_cache_delete_type_at(cache, idx, G_TYPE_DB_COMMENT, false, false); \
- \
- if (old != NULL) \
- { \
- g_buffer_cache_insert_at(cache, idx, old, false, false); \
- g_object_unref(G_OBJECT(old)); \
- } \
- \
+#define RUN_INLINED_COMMENT(idx, new, old) \
+ if (apply) \
+ { \
+ old = g_buffer_cache_delete_type_at(cache, idx, G_TYPE_DB_COMMENT, false, false); \
+ \
+ g_buffer_cache_insert_at(cache, idx, G_LINE_GENERATOR(new), BLF_NONE, false, false); \
+ \
+ } \
+ else \
+ { \
+ g_buffer_cache_delete_type_at(cache, idx, G_TYPE_DB_COMMENT, false, false); \
+ \
+ if (old != NULL) \
+ { \
+ g_buffer_cache_insert_at(cache, idx, old, BLF_NONE, false, false); \
+ g_object_unref(G_OBJECT(old)); \
+ } \
+ \
}
/* Commentaire principal */