Fix cout/cerr mixup

pull/661/head
scrawl 10 years ago
parent 24ae1d5ace
commit 0ed3e3e489

@ -331,9 +331,9 @@ namespace ESSImport
{
if (unknownRecords.insert(n.val).second)
{
std::ios::fmtflags f(std::cout.flags());
std::ios::fmtflags f(std::cerr.flags());
std::cerr << "unknown record " << n.toString() << " (0x" << std::hex << esm.getFileOffset() << ")" << std::endl;
std::cout.flags(f);
std::cerr.flags(f);
}
esm.skipRecord();

Loading…
Cancel
Save