Commit 0b7b03c7 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

parsetl: flush the errors

This fixes an issue in the on-line translator, where error message would
not be output in the correct <div>.

* spot/parsetl/fmterror.cc (format_parse_errors): Flush the stream.
parent 2e69e045
......@@ -89,6 +89,7 @@ namespace spot
os << '\n' << it.second << "\n\n";
printed = true;
}
os.flush();
return printed;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment