1.1 --- a/core/systems/HandleSys.cpp Sun Nov 11 20:59:20 2007 +0000
1.2 +++ b/core/systems/HandleSys.cpp Fri Nov 23 05:10:33 2007 +0000
1.3 @@ -994,10 +994,10 @@
1.4 return g_PluginSys.UnloadPlugin(highest_owner);
1.5 }
1.6
1.7 -void HandleSystem::Dump(FILE *fp)
1.8 +void HandleSystem::Dump(HANDLE_REPORTER rep)
1.9 {
1.10 - fprintf(fp, "%-10.10s\t%-20.20s\t%-20.20s\n", "Handle", "Owner", "Type");
1.11 - fprintf(fp, "---------------------------------------------\n");
1.12 + rep("%-10.10s\t%-20.20s\t%-20.20s", "Handle", "Owner", "Type");
1.13 + rep("---------------------------------------------");
1.14 for (unsigned int i = 1; i <= m_HandleTail; i++)
1.15 {
1.16 if (m_Handles[i].set != HandleSet_Used)
1.17 @@ -1046,7 +1046,7 @@
1.18 {
1.19 type = m_strtab->GetString(pType->nameIdx);
1.20 }
1.21 - fprintf(fp, "0x%08x\t%-20.20s\t%-20.20s\n", index, owner, type);
1.22 + rep("0x%08x\t%-20.20s\t%-20.20s", index, owner, type);
1.23 }
1.24 }
1.25