mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
fix processor display
svn path=/trunk/; revision=24382
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user