mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:55:42 +00:00
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:
parent
5902c7241e
commit
edfa8a7002
7 changed files with 928 additions and 880 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue