now rounds the total memory size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13332 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -203,7 +203,7 @@ AboutView::AboutView(const BRect &r)
|
|||||||
r.OffsetBy(0, labelHeight);
|
r.OffsetBy(0, labelHeight);
|
||||||
r.bottom = r.top + textHeight;
|
r.bottom = r.top + textHeight;
|
||||||
|
|
||||||
sprintf(string, "%ld MB total", systemInfo.max_pages / 256);
|
sprintf(string, "%d MB total", int(systemInfo.max_pages / 256.0f + 0.5f));
|
||||||
|
|
||||||
stringView = new BStringView(r, "ramtext", string);
|
stringView = new BStringView(r, "ramtext", string);
|
||||||
fInfoView->AddChild(stringView);
|
fInfoView->AddChild(stringView);
|
||||||
|
|||||||
Reference in New Issue
Block a user