That's Hz, not hz when prefixed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13522 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2005-07-07 10:39:18 +00:00
parent 67522bbd91
commit f14ac66c8e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -199,9 +199,9 @@ AboutView::AboutView(const BRect &r)
r.bottom = r.top + textHeight;
if (systemInfo.cpu_clock_speed < 1000000000)
sprintf(string,"%d Mhz", int(systemInfo.cpu_clock_speed / 1000000.0f));
sprintf(string,"%d MHz", int(systemInfo.cpu_clock_speed / 1000000.0f));
else
sprintf(string,"%.2f Ghz", systemInfo.cpu_clock_speed / 1000000000.0f);
sprintf(string,"%.2f GHz", systemInfo.cpu_clock_speed / 1000000000.0f);
stringView = new BStringView(r, "mhztext", string);
fInfoView->AddChild(stringView);
+1 -1
View File
@@ -218,7 +218,7 @@ NormalPulseView::Draw(BRect rect)
char buf[500];
int cpu_speed = CalculateCPUSpeed();
if (cpu_speed > 1000)
sprintf(buf, "%.2f Ghz", cpu_speed / 1000.0f);
sprintf(buf, "%.2f GHz", cpu_speed / 1000.0f);
else
sprintf(buf, "%d MHz", cpu_speed);
SetDrawingMode(B_OP_OVER);