mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 18:35:32 +00:00
fix processor display
svn path=/trunk/; revision=24382
This commit is contained in:
parent
99379a7e2c
commit
f1775cc055
|
@ -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