diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-04-23 17:37:21 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-04-23 17:37:21 +0100 |
commit | a6dd2d3a068f53aa4de1a240ad35314570246dc1 (patch) | |
tree | e78c5b8b6fc92ce3a2a7df164ee14d42848169b3 /src/callgraph.c | |
parent | 7e18e60824115036600c0f23700da72863edf7f7 (diff) |
Tons of UI tweaks. Oops.
Diffstat (limited to 'src/callgraph.c')
-rw-r--r-- | src/callgraph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/callgraph.c b/src/callgraph.c index ac8eac5..97d1970 100644 --- a/src/callgraph.c +++ b/src/callgraph.c @@ -327,7 +327,7 @@ call_graph_query_tooltip (GtkWidget *widget, do { if (child->frame != child->parent->frame) { - if (++n == 8) + if (++n == NUM_CALLERS) break; if (frame->frame->function == main_fn) break; @@ -352,7 +352,7 @@ call_graph_query_tooltip (GtkWidget *widget, g_string_append (string, frame->frame->function_srcloc); if (frame->frame->function == main_fn) break; - if (++n == 8) + if (++n == NUM_CALLERS) break; } if (frame->allocator != NULL) @@ -363,7 +363,7 @@ call_graph_query_tooltip (GtkWidget *widget, } else string = g_string_new ("Called from:"); - if (frame->frame->function != main_fn && n < 8) { + if (frame->frame->function != main_fn && n < NUM_CALLERS) { const gchar *last_frame = frame->frame->function_srcloc; const Allocator *A = frame->allocator; guint m = frame->depth + 1; @@ -376,7 +376,7 @@ call_graph_query_tooltip (GtkWidget *widget, g_string_append (string, str); if (A->frames[m]->function == main_fn) break; - if (++n == 8) + if (++n == NUM_CALLERS) break; last_frame = str; } |