Percent signs after numbers, please\!

git-svn-id: svn://10.0.0.236/trunk@66732 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brendan%mozilla.org 2000-04-21 19:05:53 +00:00
parent dcf74ecad1
commit 7151e98552
2 changed files with 4 additions and 4 deletions

View File

@ -514,7 +514,7 @@ 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&nbsp;(%%%1.2f)</a>\n",
fprintf(fp, "<a href='#%s'>%s&nbsp;(%1.2f%%)</a>\n",
graphnode_name(edge->node),
prettybig(edge->total, buf, sizeof buf),
percent(edge->total, total));
@ -556,7 +556,7 @@ static void dump_graph(PLHashTable *hashtbl, const char *title, FILE *fp)
fprintf(fp,
"<tr>"
"<td valign=top><a name='%s'>%s</td>"
"<td valign=top>%s/%s (%%%1.2f/%%%1.2f)</td>",
"<td valign=top>%s/%s (%1.2f%%/%1.2f%%)</td>",
graphnode_name(node),
graphnode_name(node),
prettybig(node->total, buf1, sizeof buf1),

View File

@ -514,7 +514,7 @@ 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&nbsp;(%%%1.2f)</a>\n",
fprintf(fp, "<a href='#%s'>%s&nbsp;(%1.2f%%)</a>\n",
graphnode_name(edge->node),
prettybig(edge->total, buf, sizeof buf),
percent(edge->total, total));
@ -556,7 +556,7 @@ static void dump_graph(PLHashTable *hashtbl, const char *title, FILE *fp)
fprintf(fp,
"<tr>"
"<td valign=top><a name='%s'>%s</td>"
"<td valign=top>%s/%s (%%%1.2f/%%%1.2f)</td>",
"<td valign=top>%s/%s (%1.2f%%/%1.2f%%)</td>",
graphnode_name(node),
graphnode_name(node),
prettybig(node->total, buf1, sizeof buf1),