Skip to content
Snippets Groups Projects
Commit 684dffcc authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent a5f5105f
No related branches found
No related tags found
No related merge requests found
......@@ -4285,6 +4285,7 @@ void GUI::create_message_window(bool redraw_only)
void GUI::add_message(const char *msg)
{
// remove \n, \t, \r
std::string str(msg);
for(unsigned int i = 0; i < str.size(); i++)
if(str[i] == '\n' || str[i] == '\t' || str[i] == '\r') str[i] = ' ';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment