Sync'ing remaining changes after recent CVS problems. Seem to now have my route back!

svn path=/trunk/; revision=3540
This commit is contained in:
Robert Dickenson 2002-09-24 14:22:48 +00:00
parent 5902c7241e
commit edfa8a7002
7 changed files with 928 additions and 880 deletions

View file

@ -181,15 +181,15 @@ void Graph_DrawCpuUsageGraph(HDC hDC, HWND hWnd)
//
if (CpuUsage == 100)
{
_stprintf(Text, _T("%d%%"), CpuUsage);
_stprintf(Text, _T("%d%%"), (int)CpuUsage);
}
else if (CpuUsage < 10)
{
_stprintf(Text, _T(" %d%%"), CpuUsage);
_stprintf(Text, _T(" %d%%"), (int)CpuUsage);
}
else
{
_stprintf(Text, _T(" %d%%"), CpuUsage);
_stprintf(Text, _T(" %d%%"), (int)CpuUsage);
}
//
@ -347,7 +347,7 @@ void Graph_DrawMemUsageGraph(HDC hDC, HWND hWnd)
CommitChargeTotal = (ULONGLONG)PerfDataGetCommitChargeTotalK();
CommitChargeLimit = (ULONGLONG)PerfDataGetCommitChargeLimitK();
_stprintf(Text, _T("%dK"), CommitChargeTotal);
_stprintf(Text, _T("%dK"), (int)CommitChargeTotal);
//
// Draw the font text onto the graph