* Simplified compiler text - it will now only be shown in case it's not 2.95.3,
and it does fit in the line. * Removed extraneous whitespace. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25994 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -238,18 +238,16 @@ AboutView::AboutView(const BRect &rect)
|
|||||||
stringView->ResizeToPreferred();
|
stringView->ResizeToPreferred();
|
||||||
|
|
||||||
// GCC version
|
// GCC version
|
||||||
|
#ifdef __GNUC__ != 2
|
||||||
r.OffsetBy(0, textHeight);
|
r.OffsetBy(0, textHeight);
|
||||||
r.bottom = r.top + textHeight;
|
r.bottom = r.top + textHeight;
|
||||||
|
|
||||||
strlcpy(string, "Compiler version: ", sizeof(string));
|
snprintf(string, sizeof(string), "GCC %d", __GNUC__);
|
||||||
#ifdef __GNUC__
|
|
||||||
strlcat(string, "GCC ", sizeof(string));
|
|
||||||
#endif
|
|
||||||
strlcat(string, __VERSION__, sizeof(string));
|
|
||||||
|
|
||||||
stringView = new BStringView(r, "gcctext", string);
|
stringView = new BStringView(r, "gcctext", string);
|
||||||
fInfoView->AddChild(stringView);
|
fInfoView->AddChild(stringView);
|
||||||
stringView->ResizeToPreferred();
|
stringView->ResizeToPreferred();
|
||||||
|
#endif
|
||||||
|
|
||||||
// CPU count, type and clock speed
|
// CPU count, type and clock speed
|
||||||
r.OffsetBy(0, textHeight * 1.5);
|
r.OffsetBy(0, textHeight * 1.5);
|
||||||
|
|||||||
Reference in New Issue
Block a user