[haiku-commits] haiku: hrev49521 - src/kits/media

  • From: b.vitruvio@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 8 Aug 2015 20:32:16 +0200 (CEST)

hrev49521 adds 1 changeset to branch 'master'
old head: 7d407a1e99e9c375aaa1f9cb577401b6b52735ae
new head: d796a63b4f265d710d2ed1db0f497d8fbdd5bc2e
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=d796a63b4f26+%5E7d407a1e99e9

----------------------------------------------------------------------------

d796a63b4f26: MediaKit: Other style fixes

* Thanks to Marcus for reviewing, this is what happen when
you mess out with the TODO list.

[ Dario Casalinuovo <b.vitruvio@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49521
Commit: d796a63b4f265d710d2ed1db0f497d8fbdd5bc2e
URL: http://cgit.haiku-os.org/haiku/commit/?id=d796a63b4f26
Author: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
Date: Sat Aug 8 18:20:16 2015 UTC

----------------------------------------------------------------------------

1 file changed, 4 insertions(+), 4 deletions(-)
src/kits/media/MediaDefs.cpp | 8 ++++----

----------------------------------------------------------------------------

diff --git a/src/kits/media/MediaDefs.cpp b/src/kits/media/MediaDefs.cpp
index 30b8a9e..2a545a8 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:
@@ -1285,7 +1285,7 @@ progress_shutdown(int stage,
}

if (progress == NULL)
- notify_system(stage/100.0f, string);
+ notify_system(stage / 100.0f, string);
else
progress(stage, string, cookie);
}
@@ -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:
@@ -1386,7 +1386,7 @@ progress_startup(int stage,
}

if (progress == NULL)
- notify_system(stage/100.0f, string);
+ notify_system(stage / 100.0f, string);
else
progress(stage, string, cookie);
}


Other related posts:

  • » [haiku-commits] haiku: hrev49521 - src/kits/media - b . vitruvio