Author: gedmurphy
Date: Wed Oct 4 00:51:35 2006
New Revision: 24382
URL:
http://svn.reactos.org/svn/reactos?rev=24382&view=rev
Log:
fix processor display
Modified:
trunk/reactos/dll/cpl/sysdm/general.c
Modified: trunk/reactos/dll/cpl/sysdm/general.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/general.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/sysdm/general.c (original)
+++ trunk/reactos/dll/cpl/sysdm/general.c Wed Oct 4 00:51:35 2006
@@ -131,12 +131,12 @@
{
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,