mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
fix processor display
svn path=/trunk/; revision=24382
This commit is contained in:
parent
99379a7e2c
commit
f1775cc055
1 changed files with 2 additions and 2 deletions
|
@ -131,12 +131,12 @@ SetProcSpeed(HWND hwnd,
|
|||
{
|
||||
if (dwBuf < 1000)
|
||||
{
|
||||
_stprintf(szBuf, _T("%lu MHz"), dwBuf);
|
||||
_stprintf(szBuf, _T("%.2f MHz"), dwBuf);
|
||||
}
|
||||
else
|
||||
{
|
||||
double flt = dwBuf / 1000.0;
|
||||
_stprintf(szBuf, _T("%l GHz"), flt);
|
||||
_stprintf(szBuf, _T("%.2f GHz"), flt);
|
||||
}
|
||||
|
||||
SetDlgItemText(hwnd,
|
||||
|
|
Loading…
Reference in a new issue