summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-15 22:44:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-15 22:44:33 (GMT)
commit10105a5f877fd2c6d1e67343956269f1b19a5133 (patch)
tree71a0b8de0623e0292f030aa606b144b8e20f7bf1 /src
parent5dbb4e6a9f0dcb75abf9e7abdc0d8a98f66af147 (diff)
Fixed the ending line of graphic views.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@97 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rw-r--r--src/gtkext/gtkgraphview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c
index 0332557..7a17aa5 100644
--- a/src/gtkext/gtkgraphview.c
+++ b/src/gtkext/gtkgraphview.c
@@ -332,7 +332,7 @@ static void gtk_graph_view_define_main_address(GtkGraphView *view, vmpa_t addr)
view->end = end;
first = g_rendering_line_find_by_address(GTK_BIN_VIEW(view)->lines, GTK_BIN_VIEW(view)->last, start);
- last = g_rendering_line_find_by_address(GTK_BIN_VIEW(view)->lines, GTK_BIN_VIEW(view)->last, end);
+ last = g_rendering_line_find_by_address(GTK_BIN_VIEW(view)->lines, GTK_BIN_VIEW(view)->last, end - 1);
view->childs = gtk_graph_view_load_nodes(GTK_BIN_VIEW(view)->binary, first, last, &view->childs_count);