MediaKit: Other style fixes
* Thanks to Marcus for reviewing, this is what happen when you mess out with the TODO list.
This commit is contained in:
@@ -1261,7 +1261,7 @@ progress_shutdown(int stage,
|
|||||||
// parameter "message" is no longer used. It is kept for compatibility with
|
// parameter "message" is no longer used. It is kept for compatibility with
|
||||||
// BeOS as this is used as a shutdown_media_server callback.
|
// 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";
|
const char* string = "Unknown stage";
|
||||||
switch (stage) {
|
switch (stage) {
|
||||||
case 10:
|
case 10:
|
||||||
@@ -1285,7 +1285,7 @@ progress_shutdown(int stage,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (progress == NULL)
|
if (progress == NULL)
|
||||||
notify_system(stage/100.0f, string);
|
notify_system(stage / 100.0f, string);
|
||||||
else
|
else
|
||||||
progress(stage, string, cookie);
|
progress(stage, string, cookie);
|
||||||
}
|
}
|
||||||
@@ -1365,7 +1365,7 @@ progress_startup(int stage,
|
|||||||
// parameter "message" is no longer used. It is kept for compatibility with
|
// parameter "message" is no longer used. It is kept for compatibility with
|
||||||
// BeOS as this is used as a shutdown_media_server callback.
|
// 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";
|
const char* string = "Unknown stage";
|
||||||
switch (stage) {
|
switch (stage) {
|
||||||
case 10:
|
case 10:
|
||||||
@@ -1386,7 +1386,7 @@ progress_startup(int stage,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (progress == NULL)
|
if (progress == NULL)
|
||||||
notify_system(stage/100.0f, string);
|
notify_system(stage / 100.0f, string);
|
||||||
else
|
else
|
||||||
progress(stage, string, cookie);
|
progress(stage, string, cookie);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user