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.
This commit is contained in:
Alexandre Duret-Lutz 2016-11-05 19:28:22 +01:00
parent 2e69e04583
commit 0b7b03c7d2

View file

@ -89,6 +89,7 @@ namespace spot
os << '\n' << it.second << "\n\n";
printed = true;
}
os.flush();
return printed;
}
}