fix some more crashes (on OS X only)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@208 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
@@ -212,7 +212,11 @@ void DoCommandListDlg()
|
||||
|
||||
if(!m_commandList.failed())
|
||||
{
|
||||
m_commandList << makeLeftJustified(name, 25) << " " << modifiers.c_str() << '\n';
|
||||
int l = strlen(name);
|
||||
m_commandList << name;
|
||||
while(l++ < 25)
|
||||
m_commandList << ' ';
|
||||
m_commandList << modifiers.c_str() << '\n';
|
||||
}
|
||||
}
|
||||
} visitor(path.c_str(), store);
|
||||
|
||||
@@ -1044,8 +1044,8 @@ void Map_LoadFile (const char *filename)
|
||||
globalOutputStream() << "--- LoadMapFile ---\n";
|
||||
globalOutputStream() << g_map.m_name.c_str() << "\n";
|
||||
|
||||
globalOutputStream() << makeLeftJustified(Unsigned(g_brushCount.get()), 5) << " primitive\n";
|
||||
globalOutputStream() << makeLeftJustified(Unsigned(g_entityCount.get()), 5) << " entities\n";
|
||||
globalOutputStream() << Unsigned(g_brushCount.get()) << " primitive\n";
|
||||
globalOutputStream() << Unsigned(g_entityCount.get()) << " entities\n";
|
||||
|
||||
//GlobalEntityCreator().printStatistics();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user