Small refactoring of Expander and AboutSystem GCI patches.

* Fix excessive snprintf in SystemAbout kernel build date/time;
* Create destination folder message adjusted with HIG requirements;

Thanks for pointing out, Landon Fuller and Pulkomandy.
This commit is contained in:
Siarzhuk Zharski
2012-12-02 17:58:06 +01:00
parent 1789de431c
commit 2ede175119
2 changed files with 24 additions and 26 deletions
+1 -3
View File
@@ -677,9 +677,7 @@ AboutView::AboutView()
} else
buildTimeDate.SetTo(kernelTimeDate);
snprintf(string, sizeof(string), buildTimeDate);
BStringView* kernelView = new BStringView("kerneltext", string);
BStringView* kernelView = new BStringView("kerneltext", buildTimeDate);
kernelView->SetExplicitAlignment(BAlignment(B_ALIGN_LEFT,
B_ALIGN_VERTICAL_UNSET));