summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-07-26 23:23:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-07-26 23:23:42 (GMT)
commit9606b8e49299e37b297da039fc8a645f1ab4cf2d (patch)
tree16eb18d5292ec04ee4b7a24756e59d3c430f104e /plugins/ropgadgets
parentb80a36ab9746ca47b9c50827efe3856ce2840144 (diff)
Updated the process collecting line widths.
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)