From 6ca16f31cb3977a020516f46726968526c228158 Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Sat, 8 Aug 2015 15:25:52 +0200 Subject: [PATCH] MediaKit: Style fixes --- src/kits/media/MediaDefs.cpp | 4 ++-- src/kits/media/MediaRoster.cpp | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/kits/media/MediaDefs.cpp b/src/kits/media/MediaDefs.cpp index 614e89f1e2..30b8a9e704 100644 --- a/src/kits/media/MediaDefs.cpp +++ b/src/kits/media/MediaDefs.cpp @@ -1261,7 +1261,7 @@ progress_shutdown(int stage, // parameter "message" is no longer used. It is kept for compatibility with // BeOS as this is used as a shutdown_media_server callback. - TRACE("stage : %i\n", stage); + TRACE("stage : %i \n", stage); const char* string = "Unknown stage"; switch (stage) { case 10: @@ -1365,7 +1365,7 @@ progress_startup(int stage, // parameter "message" is no longer used. It is kept for compatibility with // BeOS as this is used as a shutdown_media_server callback. - TRACE("stage : %i\n", stage); + TRACE("stage : %i \n", stage); const char* string = "Unknown stage"; switch (stage) { case 10: diff --git a/src/kits/media/MediaRoster.cpp b/src/kits/media/MediaRoster.cpp index e386c2d0fb..6799b01d7a 100644 --- a/src/kits/media/MediaRoster.cpp +++ b/src/kits/media/MediaRoster.cpp @@ -3320,13 +3320,13 @@ BMediaRoster::MessageReceived(BMessage* message) { RosterNotification notification; if (message->FindInt32(NOTIFICATION_PARAM_WHAT, ¬ification.what) - != B_OK) { + != B_OK) { TRACE("BMediaRoster MEDIA_ROSTER_REQUEST_NOTIFICATIONS can't" "find what parameter"); return; } if (message->FindMessenger(NOTIFICATION_PARAM_MESSENGER, - ¬ification.messenger) != B_OK) { + ¬ification.messenger) != B_OK) { TRACE("BMediaRoster MEDIA_ROSTER_REQUEST_NOTIFICATIONS can't" "find messenger"); return; @@ -3339,13 +3339,13 @@ BMediaRoster::MessageReceived(BMessage* message) { RosterNotification notification; if (message->FindInt32(NOTIFICATION_PARAM_WHAT, ¬ification.what) - != B_OK) { + != B_OK) { TRACE("BMediaRoster MEDIA_ROSTER_CANCEL_NOTIFICATIONS can't" "find what parameter"); return; } if (message->FindMessenger(NOTIFICATION_PARAM_MESSENGER, - ¬ification.messenger) != B_OK) { + ¬ification.messenger) != B_OK) { TRACE("BMediaRoster MEDIA_ROSTER_CANCEL_NOTIFICATIONS can't" "find messenger"); return; @@ -3355,7 +3355,7 @@ BMediaRoster::MessageReceived(BMessage* message) if (sNotificationList.Get(i, ¤t) != true) return; if (current->what == notification.what - && current->messenger == notification.messenger) { + && current->messenger == notification.messenger) { sNotificationList.Remove(i); return; } @@ -3394,7 +3394,7 @@ BMediaRoster::MessageReceived(BMessage* message) return; if (current->what == B_MEDIA_SERVER_STARTED) { if (current->messenger.SendMessage( - B_MEDIA_SERVER_STARTED) != B_OK) { + B_MEDIA_SERVER_STARTED) != B_OK) { if(!current->messenger.IsValid()) sNotificationList.Remove(i); } @@ -3424,7 +3424,7 @@ BMediaRoster::MessageReceived(BMessage* message) return; if (current->what == B_MEDIA_SERVER_QUIT) { if (current->messenger.SendMessage( - B_MEDIA_SERVER_QUIT) != B_OK) { + B_MEDIA_SERVER_QUIT) != B_OK) { if(!current->messenger.IsValid()) sNotificationList.Remove(i); }