Make more readable and fix use double quotes for href attribute value.

svn path=/trunk/netsurf/; revision=13852
This commit is contained in:
Michael Drake 2012-04-12 12:34:33 +00:00
parent 387c85ae0b
commit 5266539f92

View File

@ -241,18 +241,28 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx)
/* image cache entry table */
slen = snprintf(buffer, sizeof buffer,
"<table class=\"imagecachelist\">\n"
"<tr><th>Entry</th>"
"<tr>"
"<th>Entry</th>"
"<th>Content Key</th>"
"<th>Redraw Count</th>"
"<th>Conversion Count</th>"
"<th>Last Redraw</th>"
"<th>Bitmap Age</th>"
"<th>Bitmap Size</th>"
"<th>Source URL</th></tr>\n");
"<th>Source URL</th>"
"</tr>\n");
do {
res = image_cache_snentryf(buffer + slen, sizeof buffer - slen,
cent_loop,
"<tr><td>%e</td><td>%k</td><td>%r</td><td>%c</td><td>%a</td><td>%g</td><td>%s</td><td><a href='%U'>%U</a></td></tr>\n");
"<tr><td>%e</td>"
"<td>%k</td>"
"<td>%r</td>"
"<td>%c</td>"
"<td>%a</td>"
"<td>%g</td>"
"<td>%s</td>"
"<td><a href=\"%U\">%U</a></td>"
"</tr>\n");
if (res <= 0)
break; /* last option */