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:
|
||||
@ -24,15 +24,16 @@
|
||||
|
||||
|
||||
AttributeTextControl::AttributeTextControl(const char* label,
|
||||
const char* attribute)
|
||||
const char* attribute)
|
||||
:
|
||||
BTextControl(NULL, "", NULL),
|
||||
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