summaryrefslogtreecommitdiff
path: root/src/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/gotox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/gotox.c b/src/dialogs/gotox.c
index fdf5e2a..00c4fd0 100644
--- a/src/dialogs/gotox.c
+++ b/src/dialogs/gotox.c
@@ -344,7 +344,7 @@ static void add_new_location_to_list(GtkTreeStore *store, GLoadedBinary *binary,
/* Adresse en mémoire virtuelle */
buffer = g_loaded_binary_get_disassembled_buffer(binary);
- line = g_code_buffer_find_line_by_addr(buffer, addr);
+ line = g_code_buffer_find_line_by_addr(buffer, addr, BLF_HAS_CODE, NULL);
if (line != NULL)
virtual = g_buffer_line_get_text(line, BLC_VIRTUAL, BLC_VIRTUAL + 1, true);