diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-07-15 22:44:33 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-07-15 22:44:33 (GMT) |
commit | 10105a5f877fd2c6d1e67343956269f1b19a5133 (patch) | |
tree | 71a0b8de0623e0292f030aa606b144b8e20f7bf1 | |
parent | 5dbb4e6a9f0dcb75abf9e7abdc0d8a98f66af147 (diff) |
Fixed the ending line of graphic views.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@97 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gtkext/gtkgraphview.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 09-07-16 Cyrille Bagard <nocbos@gmail.com> + * src/gtkext/gtkgraphview.c: + Fix the ending line of graphic views. + +09-07-16 Cyrille Bagard <nocbos@gmail.com> + * src/arch/immediate.c: Fix types: uint64_t -> vmpa_t. 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); |