mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-27 20:04:08 +03:00
Make more readable and fix use double quotes for href attribute value.
svn path=/trunk/netsurf/; revision=13852
This commit is contained in:
parent
387c85ae0b
commit
5266539f92
@ -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 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user