Minor coding style fix.
This commit is contained in:
parent
792843e8af
commit
81ec973846
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2005-2011, Haiku, Inc. All rights reserved.
|
||||
* Copyright 2005-2012, Haiku, Inc. All rights reserved.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*
|
||||
* Authors:
|
||||
@ -30,9 +30,10 @@ AttributeTextControl::AttributeTextControl(const char* label,
|
||||
fAttribute(attribute),
|
||||
fOriginalValue()
|
||||
{
|
||||
if (label != NULL && label[0] != 0)
|
||||
if (label != NULL && label[0] != 0) {
|
||||
SetLabel(BString(B_TRANSLATE("%attribute_label:"))
|
||||
.ReplaceFirst("%attribute_label", label));
|
||||
}
|
||||
SetAlignment(B_ALIGN_RIGHT, B_ALIGN_LEFT);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user