diff --git a/ChangeLog b/ChangeLog index 9ba77dcf..e7af2d3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sun Nov 6 23:03:49 2005 Soeren Sandmann + + * profile.c (add_trace_to_tree): Test for !prev instead of !next. + Sun Nov 6 Soeren Sandmann * TODO: updates diff --git a/profile.c b/profile.c index d50afaba..7beded27 100644 --- a/profile.c +++ b/profile.c @@ -303,7 +303,7 @@ add_trace_to_tree (GList *trace, gint size, gpointer data) ++match->marked_non_recursive; } - if (!list->next) + if (!list->prev) match->self += size; tree = &(match->children);