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:
parent
a13d97ce23
commit
6d72c504d9
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue