using a stream variable with a stream operator does not...

...return the wanted effect... so added .str() to get the wanted
effect.  (isn't the first time that happened :/)
This commit is contained in:
Mark de Wever 2007-03-11 15:58:50 +00:00
parent a13d97ce23
commit 6d72c504d9

View file

@ -154,7 +154,7 @@ void show_wml_errors()
screen->add_chat_message(caption, 0, msg.str(), display::MESSAGE_PUBLIC, false);
}
std::cerr << caption << ": " << msg << '\n';
std::cerr << caption << ": " << msg.str() << '\n';
}
}