diff --git a/src/kits/interface/StringView.cpp b/src/kits/interface/StringView.cpp index 202de88da5..a08cd6dd99 100644 --- a/src/kits/interface/StringView.cpp +++ b/src/kits/interface/StringView.cpp @@ -58,7 +58,7 @@ BStringView::BStringView(BMessage* data) { const char* text; - if (data->FindInt32("_aligne",(int32&)fAlign) != B_OK) { + if (data->FindInt32("_align",(int32&)fAlign) != B_OK) { fAlign = B_ALIGN_LEFT; }