Bug 106618. Change KB to KiB across the application. Patch by Alexey Chernyak <alexey@optus.net>. r=bz, sr=darin

git-svn-id: svn://10.0.0.236/trunk@150738 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
technutz%netscape.net
2003-12-26 07:11:58 +00:00
parent 019725339d
commit 388605f4b6
2 changed files with 3 additions and 3 deletions

View File

@@ -524,7 +524,7 @@ nsMemoryCacheDeviceInfo::GetUsageReport(char ** result)
buffer.Append("\n<tr>\n<td><b>Inactive Storage:</b></td>\n<td><tt> ");
buffer.AppendInt(mDevice->mInactiveSize / 1024);
buffer.Append(" k</tt></td>\n</tr>\n");
buffer.Append(" KiB</tt></td>\n</tr>\n");
*result = ToNewCString(buffer);
if (!*result) return NS_ERROR_OUT_OF_MEMORY;

View File

@@ -189,14 +189,14 @@ nsAboutCache::VisitDevice(const char *deviceID,
deviceInfo->GetMaximumSize(&value);
mBuffer.Append("<td><tt>");
mBuffer.AppendInt(value/1024);
mBuffer.Append(" k</tt></td>\n</tr>\n");
mBuffer.Append(" KiB</tt></td>\n</tr>\n");
mBuffer.Append("\n<tr>\n<td><b>Storage in use: </b></td>\n");
mBuffer.Append("<td><tt>");
value = 0;
deviceInfo->GetTotalSize(&value);
mBuffer.AppendInt(value/1024);
mBuffer.Append(" k</tt></td>\n</tr>\n");
mBuffer.Append(" KiB</tt></td>\n</tr>\n");
deviceInfo->GetUsageReport(getter_Copies(str));
mBuffer.Append(str);