Fix bug 204398, fixing alignment of about:cache.

patch=abecevello@sympatico.ca, r=gordon, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@142389 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gordon%netscape.com
2003-05-13 23:15:20 +00:00
parent fcbfc7e2f8
commit 0bd0d75242
3 changed files with 6 additions and 13 deletions

View File

@@ -522,12 +522,10 @@ nsMemoryCacheDeviceInfo::GetUsageReport(char ** result)
NS_ENSURE_ARG_POINTER(result);
nsCString buffer;
buffer.Assign("<table>\n");
buffer.Append("<tr><td><b>Inactive Storage:</b></td><td><tt> ");
buffer.Append("\n<tr>\n<td><b>Inactive Storage:</b></td>\n<td><tt> ");
buffer.AppendInt(mDevice->mInactiveSize / 1024);
buffer.Append(" k</tt></td></tr>\n");
buffer.Append("</table>\n");
buffer.Append(" k</tt></td>\n</tr>\n");
*result = ToNewCString(buffer);
if (!*result) return NS_ERROR_OUT_OF_MEMORY;
return NS_OK;