Fix the build and put B_UTF8_ELLIPSIS into the B_TRANSLATE macro, my fault.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42269 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-06-20 21:23:07 +00:00
parent c26c18e489
commit 6a9178f51c
2 changed files with 2 additions and 3 deletions

View File

@ -51,7 +51,7 @@ ConfigView::ConfigView()
void ConfigView::SetTo(const BMessage *archive) void ConfigView::SetTo(const BMessage *archive)
{ {
BMailFileConfigView* control = (BMailFileConfigView*)FindView( BMailFileConfigView* control = (BMailFileConfigView*)FindView(
"fortune_file") "fortune_file");
if (control != NULL) if (control != NULL)
control->SetTo(archive, NULL); control->SetTo(archive, NULL);

View File

@ -38,8 +38,7 @@ BFileControl::BFileControl(BRect rect, const char* name, const char* label,
font_height fontHeight; font_height fontHeight;
GetFontHeight(&fontHeight); GetFontHeight(&fontHeight);
float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent + fontHeight.leading) + 13; float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent + fontHeight.leading) + 13;
BString selectString = B_TRANSLATE("Select"); BString selectString = B_TRANSLATE("Select" B_UTF8_ELLIPSIS);
selectString += B_UTF8_ELLIPSIS;
float labelWidth = StringWidth(selectString) + 20; float labelWidth = StringWidth(selectString) + 20;
rect = Bounds(); rect = Bounds();
rect.right -= labelWidth; rect.right -= labelWidth;