diff --git a/src/apps/people/AttributeTextControl.cpp b/src/apps/people/AttributeTextControl.cpp index ff1694c261..e3197f6bfd 100644 --- a/src/apps/people/AttributeTextControl.cpp +++ b/src/apps/people/AttributeTextControl.cpp @@ -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); }