diff options
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/db/items/comment.c | 36 |
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 */ |