summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r--plugins/ropgadgets/select.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ropgadgets/select.c b/plugins/ropgadgets/select.c
index 099560a..1d0521d 100644
--- a/plugins/ropgadgets/select.c
+++ b/plugins/ropgadgets/select.c
@@ -43,6 +43,7 @@
#include <format/known.h>
#include <gui/core/global.h>
#include <gtkext/easygtk.h>
+#include <gtkext/gtkblockdisplay.h>
#include "finder.h"
@@ -1533,7 +1534,7 @@ static void add_new_gadgets_for_category(GExeFormat *format, GtkComboBoxText *co
{
instr = chain->instrs[j];
- line = g_buffer_line_new(BLC_ASSEMBLY);
+ line = g_buffer_line_new(DLC_COUNT);
g_line_generator_print(G_LINE_GENERATOR(instr), line, -1, 0, content);
if (j == 0)