Fixed warning (wrong format).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13729 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -197,7 +197,7 @@ NormalPulseView::Draw(BRect rect)
|
|||||||
if (cpuSpeed > 1000 && (cpuSpeed % 10) == 0)
|
if (cpuSpeed > 1000 && (cpuSpeed % 10) == 0)
|
||||||
snprintf(buffer, sizeof(buffer), "%.2f GHz", cpuSpeed / 1000.0f);
|
snprintf(buffer, sizeof(buffer), "%.2f GHz", cpuSpeed / 1000.0f);
|
||||||
else
|
else
|
||||||
snprintf(buffer, sizeof(buffer), "%d MHz", cpuSpeed);
|
snprintf(buffer, sizeof(buffer), "%ld MHz", cpuSpeed);
|
||||||
SetDrawingMode(B_OP_OVER);
|
SetDrawingMode(B_OP_OVER);
|
||||||
SetHighColor(240, 240, 240);
|
SetHighColor(240, 240, 240);
|
||||||
SetFontSize(fProcessorFontSize);
|
SetFontSize(fProcessorFontSize);
|
||||||
|
|||||||
Reference in New Issue
Block a user