1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 16:49:54 +00:00

Fix cout/cerr mixup

This commit is contained in:
scrawl 2015-07-11 04:27:35 +02:00
parent 24ae1d5ace
commit 0ed3e3e489

View file

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