Ticket #7052: Deskbar_StatusViewShelf_cpp_style_fix.diff

File Deskbar_StatusViewShelf_cpp_style_fix.diff, 1.7 KB (added by jscipione, 13 years ago)
  • src/apps/deskbar/StatusViewShelf.cpp

    diff --git a/src/apps/deskbar/StatusViewShelf.cpp b/src/apps/deskbar/StatusViewShelf.cpp
    index c879036..38cd445 100644
    a b Except as contained in this notice, the name of Be Incorporated shall not be  
    2626used in advertising or otherwise to promote the sale, use or other dealings in
    2727this Software without prior written authorization from Be Incorporated.
    2828
    29 Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered trademarks
    30 of Be Incorporated in the United States and other countries. Other brand product
    31 names are registered trademarks or trademarks of their respective holders.
     29Tracker(TM), Be(R), BeOS(R), and BeIA(TM) are trademarks or registered
     30trademarks of Be Incorporated in the United States and other countries. Other
     31brand product names are registered trademarks or trademarks of their respective
     32holders.
    3233All rights reserved.
    3334*/
    3435
    TReplicantShelf::MessageReceived(BMessage* message)  
    6869            // since we can't use ReplicantDeleted
    6970            // catch the message and find the id or name specifier
    7071            // then delete the rep vi the api,
    71             //
     72
    7273            // this will fix the problem of realigning the reps
    7374            // after a remove when done through scripting
    74             //
     75
    7576            // note: if specified by index its the index not the id!
    7677
    7778            while (message->FindMessage("specifiers", index++, &repspec)
    7879                == B_OK) {
    7980                const char* str;
     81
    8082                if (repspec.FindString("property", &str) == B_OK) {
    8183                    if (strcmp(str, "Replicant") == 0) {
    8284                        int32 index;
    TReplicantShelf::MessageReceived(BMessage* message)  
    103105}
    104106
    105107
    106 bool 
     108bool
    107109TReplicantShelf::CanAcceptReplicantView(BRect frame, BView* view,
    108110    BMessage* message) const
    109111{