mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Forgot to change the sprintf statements in revision 14902.
svn path=/trunk/; revision=14903
This commit is contained in:
parent
3ce5a90320
commit
d13148cece
1 changed files with 2 additions and 2 deletions
|
@ -527,12 +527,12 @@ DWORD WINAPI ProcessPageRefreshThread(void *lpParameter)
|
|||
|
||||
if (OldProcessorUsage != PerfDataGetProcessorUsage()) {
|
||||
OldProcessorUsage = PerfDataGetProcessorUsage();
|
||||
wsprintf(text, _T("CPU Usage: %3d%%"), OldProcessorUsage);
|
||||
wsprintf(text, szCpuUsage, OldProcessorUsage);
|
||||
SendMessage(hStatusWnd, SB_SETTEXT, 1, (LPARAM)text);
|
||||
}
|
||||
if (OldProcessCount != PerfDataGetProcessCount()) {
|
||||
OldProcessCount = PerfDataGetProcessCount();
|
||||
wsprintf(text, _T("Processes: %d"), OldProcessCount);
|
||||
wsprintf(text, szProcesses, OldProcessCount);
|
||||
SendMessage(hStatusWnd, SB_SETTEXT, 0, (LPARAM)text);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue