summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/source.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c
index 8750608..16f237a 100644
--- a/src/gui/tb/source.c
+++ b/src/gui/tb/source.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* source.c - sélection du fichier ciblé lors d'une décompilation
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -222,6 +222,7 @@ static void change_selected_source(GtkComboBox *widget, GObject *ref)
view = GTK_BUFFER_VIEW(g_object_get_data(ref, "current_view"));
if (GTK_IS_BUFFER_VIEW(view))
- gtk_buffer_view_attach_buffer(view, buffer);
+ gtk_buffer_view_attach_buffer(view, buffer,
+ g_openida_binary_display_decomp_lines(binary), NULL);
}