From 10105a5f877fd2c6d1e67343956269f1b19a5133 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 15 Jul 2009 22:44:33 +0000 Subject: Fixed the ending line of graphic views. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@97 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/gtkext/gtkgraphview.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 75dd22f..67b76b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 09-07-16 Cyrille Bagard + * src/gtkext/gtkgraphview.c: + Fix the ending line of graphic views. + +09-07-16 Cyrille Bagard + * 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); -- cgit v0.11.2-87-g4458