[haiku-commits] r35268 - haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 23 Jan 2010 18:45:16 +0100 (CET)

Author: mmlr
Date: 2010-01-23 18:45:16 +0100 (Sat, 23 Jan 2010)
New Revision: 35268
Changeset: http://dev.haiku-os.org/changeset/35268/haiku

Modified:
   haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp
Log:
Automatic whitespace cleanup, no functional change.


Modified: haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp
===================================================================
--- haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp 
2010-01-23 16:40:36 UTC (rev 35267)
+++ haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox/filter.cpp 
2010-01-23 17:45:16 UTC (rev 35268)
@@ -88,7 +88,7 @@
        dest_string = runner->Chain()->MetaData()->FindString("path");
        create_directory(dest_string.String(),0777);
        destination = dest_string.String();
-       
+
        if (msg->FindInt32("size_limit",(long *)&size_limit) != B_OK)
                size_limit = -1;
 }
@@ -108,7 +108,7 @@
 
 status_t FolderFilter::InitCheck(BString* err)
 {
-       
+
        status_t ret = destination.InitCheck();
 
        if (ret==B_OK) return B_OK;
@@ -132,7 +132,7 @@
        BString                 worker;
 
        BDirectory              dir;
-       
+
        BPath path = dest_string.String();
        if (out_headers->HasString("DESTINATION")) {
                const char *string;
@@ -226,12 +226,12 @@
                        break;
                }
        }
-       
+
        if (out_headers->HasInt32("SIZE")) {
                size_t size = out_headers->FindInt32("SIZE");
                
attributes.AddData("MAIL:fullsize",B_SIZE_T_TYPE,&size,sizeof(size_t));
        }
-               
+
        // add "New" status, if the status hasn't been set already
        if (attributes.FindString(B_MAIL_ATTR_STATUS,&buf) < B_OK)
                attributes.AddString(B_MAIL_ATTR_STATUS,"New");
@@ -324,7 +324,7 @@
                e->GetRef(&ref);
                be_roster->Launch(&ref);
        }
-               
+
        return B_OK;
 }
 
@@ -346,17 +346,17 @@
                                                                                
                "path",true,"/boot/home/mail/in");
                        fPathView->SetTo(settings,meta_data);
                        fPathView->ResizeToPreferred();
-                       
+
                        BRect r(fPathView->Frame());
                        r.OffsetBy(0,r.Height() + 5);
                        fPartialBox = new BCheckBox(r, "size_if", partial_text, 
new BMessage('SIZF'));
                        fPartialBox->ResizeToPreferred();
-                       
+
                        r = fPartialBox->Frame();
                        r.OffsetBy(17,r.Height() + 1);
                        r.right = r.left + be_plain_font->StringWidth("0000") + 
10;
                        fSizeBox = new BTextControl(r, "size", "", "", NULL);
-                       
+
                        r.OffsetBy(r.Width() + 5,0);
                        fBytesLabel = new BStringView(r,"kb", "KB");
                        AddChild(fBytesLabel);
@@ -396,8 +396,8 @@
                                
into->AddInt32("size_limit",atoi(fSizeBox->Text()) * 1024);
                        return B_OK;
                }
-                       
-                       
+
+
        private:
                BMailFileConfigView *fPathView;
                BTextControl *fSizeBox;


Other related posts:

  • » [haiku-commits] r35268 - haiku/trunk/src/add-ons/mail_daemon/system_filters/inbox - mmlr