Test for !prev instead of !next.

Sun Nov  6 23:03:49 2005  Soeren Sandmann  <sandmann@redhat.com>

        * profile.c (add_trace_to_tree): Test for !prev instead of !next.
This commit is contained in:
Soeren Sandmann
2005-11-07 03:53:20 +00:00
committed by Søren Sandmann Pedersen
parent fe5dd1e1fa
commit 1bf3734fdb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Sun Nov 6 23:03:49 2005 Soeren Sandmann <sandmann@redhat.com>
* profile.c (add_trace_to_tree): Test for !prev instead of !next.
Sun Nov 6 Soeren Sandmann <sandmann@redhat.com>
* TODO: updates

View File

@ -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);