1
0
forked from mirrors/0ad

Removed trailing newlines in log messages

This was SVN commit r705.
This commit is contained in:
Ykkrosh
2004-07-11 16:05:58 +00:00
parent f2dc64e75d
commit c62940201f
8 changed files with 25 additions and 17 deletions
+3 -3
View File
@@ -124,15 +124,15 @@ void CObjectManager::LoadObjects(int type)
CStr filename(pathname);
filename+=dent.name;
if (!object->Load((const char*) filename)) {
LOG(ERROR, "CObjectManager::LoadObjects(): %s: XML Load failed\n", filename.c_str());
LOG(ERROR, "CObjectManager::LoadObjects(): %s: XML Load failed", filename.c_str());
delete object;
} else {
AddObject(object,type);
LOG(NORMAL, "CObjectManager::LoadObjects(): %s: XML Loaded\n", filename.c_str());
LOG(NORMAL, "CObjectManager::LoadObjects(): %s: XML Loaded", filename.c_str());
}
}
vfs_close_dir(dir);
}
else
LOG(ERROR, "CObjectManager::LoadObjects(): Unable to open dir %s.\n", pathname.c_str());
LOG(ERROR, "CObjectManager::LoadObjects(): Unable to open dir %s.", pathname.c_str());
}