code style cleanup

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-03-14 14:29:52 +00:00
parent 10bddcb3bc
commit d2ecd5a91c
4 changed files with 6 additions and 6 deletions

View File

@ -52,7 +52,7 @@ DormantNodeManager::~DormantNodeManager()
// force unloading all currently loaded images
loaded_addon_info *info;
for (fAddonmap->Rewind(); fAddonmap->GetNext(&info); ) {
FATAL("Forcing unload of add-on id %ld with usecount %ld\n",info->addon->AddonID(), info->usecount);
FATAL("Forcing unload of add-on id %ld with usecount %ld\n", info->addon->AddonID(), info->usecount);
UnloadAddon(info->addon, info->image);
}
@ -65,7 +65,7 @@ DormantNodeManager::TryGetAddon(media_addon_id id)
{
loaded_addon_info *info;
BMediaAddOn *addon;
fLock->Lock();
if (fAddonmap->Get(id, &info)) {
info->usecount += 1;

View File

@ -20,7 +20,7 @@ char *newstrdup(const char *str)
return NULL;
int len = strlen(str) + 1;
char *p = new char[len];
memcpy(p,str,len);
memcpy(p, str, len);
return p;
}

View File

@ -36,8 +36,8 @@ BMediaEventLooper::BMediaEventLooper(uint32 apiVersion) :
fApiVersion(apiVersion)
{
CALLED();
fEventQueue.SetCleanupHook(BMediaEventLooper::_CleanUpEntry,this);
fRealTimeQueue.SetCleanupHook(BMediaEventLooper::_CleanUpEntry,this);
fEventQueue.SetCleanupHook(BMediaEventLooper::_CleanUpEntry, this);
fRealTimeQueue.SetCleanupHook(BMediaEventLooper::_CleanUpEntry, this);
}
/* virtual */ void

View File

@ -80,7 +80,7 @@ media_output::~media_output()
// final & verified
live_node_info::live_node_info()
: hint_point(0.0f,0.0f)
: hint_point(0.0f, 0.0f)
{
name[0] = '\0';
}