[haiku-commits] r42269 - in haiku/trunk/src: add-ons/mail_daemon/outbound_filters/fortune kits/mail

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2011 23:23:08 +0200 (CEST)

Author: czeidler
Date: 2011-06-20 23:23:07 +0200 (Mon, 20 Jun 2011)
New Revision: 42269
Changeset: https://dev.haiku-os.org/changeset/42269

Modified:
   haiku/trunk/src/add-ons/mail_daemon/outbound_filters/fortune/ConfigView.cpp
   haiku/trunk/src/kits/mail/FileConfigView.cpp
Log:
Fix the build and put B_UTF8_ELLIPSIS into the B_TRANSLATE macro, my fault.



Modified: 
haiku/trunk/src/add-ons/mail_daemon/outbound_filters/fortune/ConfigView.cpp
===================================================================
--- haiku/trunk/src/add-ons/mail_daemon/outbound_filters/fortune/ConfigView.cpp 
2011-06-20 21:15:27 UTC (rev 42268)
+++ haiku/trunk/src/add-ons/mail_daemon/outbound_filters/fortune/ConfigView.cpp 
2011-06-20 21:23:07 UTC (rev 42269)
@@ -51,7 +51,7 @@
 void ConfigView::SetTo(const BMessage *archive)
 {
        BMailFileConfigView* control = (BMailFileConfigView*)FindView(
-               "fortune_file")
+               "fortune_file");
        if (control != NULL)
                control->SetTo(archive, NULL);
 

Modified: haiku/trunk/src/kits/mail/FileConfigView.cpp
===================================================================
--- haiku/trunk/src/kits/mail/FileConfigView.cpp        2011-06-20 21:15:27 UTC 
(rev 42268)
+++ haiku/trunk/src/kits/mail/FileConfigView.cpp        2011-06-20 21:23:07 UTC 
(rev 42269)
@@ -38,8 +38,7 @@
        font_height fontHeight;
        GetFontHeight(&fontHeight);
        float itemHeight = (int32)(fontHeight.ascent + fontHeight.descent + 
fontHeight.leading) + 13;
-       BString selectString = B_TRANSLATE("Select");
-       selectString += B_UTF8_ELLIPSIS;
+       BString selectString = B_TRANSLATE("Select" B_UTF8_ELLIPSIS);
        float labelWidth = StringWidth(selectString) + 20;
        rect = Bounds();
        rect.right -= labelWidth;


Other related posts:

  • » [haiku-commits] r42269 - in haiku/trunk/src: add-ons/mail_daemon/outbound_filters/fortune kits/mail - clemens . zeidler