summaryrefslogtreecommitdiff
path: root/src/analysis/disass/block.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass/block.c')
-rw-r--r--src/analysis/disass/block.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/analysis/disass/block.c b/src/analysis/disass/block.c
index d314b5a..74aaf66 100644
--- a/src/analysis/disass/block.c
+++ b/src/analysis/disass/block.c
@@ -36,6 +36,7 @@
#include "../../common/extstr.h"
#include "../../core/params.h"
#include "../../glibext/gbinarycursor.h"
+#include "../../gtkext/gtkblockdisplay.h"
@@ -572,7 +573,7 @@ static char *g_basic_block_build_tooltip(const GBasicBlock *block)
if (label != NULL)
{
- cache = g_buffer_cache_new(NULL);
+ cache = g_buffer_cache_new(NULL, DLC_COUNT);
g_buffer_cache_append(cache, G_LINE_GENERATOR(symbol), BLF_NONE);
line = g_buffer_cache_find_line_by_index(cache, 0);