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:
parent
a79f112e9b
commit
deeb4c6cd9
|
@ -203,7 +203,7 @@ AboutView::AboutView(const BRect &r)
|
|||
r.OffsetBy(0, labelHeight);
|
||||
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);
|
||||
fInfoView->AddChild(stringView);
|
||||
|
|
Loading…
Reference in New Issue