From d2ecd5a91c08b5d2ef2daab2a3ac8dba2e5abd9d Mon Sep 17 00:00:00 2001 From: beveloper Date: Fri, 14 Mar 2003 14:29:52 +0000 Subject: [PATCH] code style cleanup git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2914 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/media/DormantNodeManager.cpp | 4 ++-- src/kits/media/MediaAddOn.cpp | 2 +- src/kits/media/MediaEventLooper.cpp | 4 ++-- src/kits/media/MediaNode.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/kits/media/DormantNodeManager.cpp b/src/kits/media/DormantNodeManager.cpp index 9f79813dd9..4dfbc3b400 100644 --- a/src/kits/media/DormantNodeManager.cpp +++ b/src/kits/media/DormantNodeManager.cpp @@ -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; diff --git a/src/kits/media/MediaAddOn.cpp b/src/kits/media/MediaAddOn.cpp index 991777e3e8..224bcc9e78 100644 --- a/src/kits/media/MediaAddOn.cpp +++ b/src/kits/media/MediaAddOn.cpp @@ -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; } diff --git a/src/kits/media/MediaEventLooper.cpp b/src/kits/media/MediaEventLooper.cpp index d26eefb53e..08f104a92a 100644 --- a/src/kits/media/MediaEventLooper.cpp +++ b/src/kits/media/MediaEventLooper.cpp @@ -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 diff --git a/src/kits/media/MediaNode.cpp b/src/kits/media/MediaNode.cpp index bc9239f1a5..aeb2e14a91 100644 --- a/src/kits/media/MediaNode.cpp +++ b/src/kits/media/MediaNode.cpp @@ -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'; }