name = tmp.substr(last_slash + 1, tmp.length() - last_slash);
#ifdef _DEBUG
- globalOutputStream() << "Last: " << last_slash << " " << "length: " << (const unsigned int)tmp.length() << "Name: " << name.c_str() << "\n";
+ globalOutputStream() << "Last: " << (const unsigned int) last_slash << " " << "length: " << (const unsigned int)tmp.length() << "Name: " << name.c_str() << "\n";
#endif
}
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);
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();