show pointed-to symbol onmouseover, for easier scanning (r=brendan)
This commit is contained in:
Родитель
7b747c0fa4
Коммит
7d006ae565
|
@ -534,8 +534,10 @@ static void dump_graphedge_list(graphedge *list, FILE *fp)
|
|||
for (edge = list; edge; edge = edge->next)
|
||||
total += edge->total;
|
||||
for (edge = list; edge; edge = edge->next) {
|
||||
fprintf(fp, "<a href='#%s'>%s (%1.2f%%)</a>\n",
|
||||
graphnode_name(edge->node),
|
||||
const char *node_name = graphnode_name(edge->node);
|
||||
fprintf(fp, "<a href='#%s' onmouseover='window.status=\"%s\"'>"
|
||||
"%s (%1.2f%%)</a>\n",
|
||||
node_name, node_name,
|
||||
prettybig(edge->total, buf, sizeof buf),
|
||||
percent(edge->total, total));
|
||||
}
|
||||
|
|
|
@ -534,8 +534,10 @@ static void dump_graphedge_list(graphedge *list, FILE *fp)
|
|||
for (edge = list; edge; edge = edge->next)
|
||||
total += edge->total;
|
||||
for (edge = list; edge; edge = edge->next) {
|
||||
fprintf(fp, "<a href='#%s'>%s (%1.2f%%)</a>\n",
|
||||
graphnode_name(edge->node),
|
||||
const char *node_name = graphnode_name(edge->node);
|
||||
fprintf(fp, "<a href='#%s' onmouseover='window.status=\"%s\"'>"
|
||||
"%s (%1.2f%%)</a>\n",
|
||||
node_name, node_name,
|
||||
prettybig(edge->total, buf, sizeof buf),
|
||||
percent(edge->total, total));
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче