summaryrefslogtreecommitdiff
path: root/src/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/error.h')
-rw-r--r--src/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.h b/src/error.h
index 253bcdbf..cfc8b15b 100644
--- a/src/error.h
+++ b/src/error.h
@@ -65,7 +65,7 @@ inline string file_context(const path& file, std::size_t line) {
inline string line_context(const string& line, istream_pos_type pos) {
std::ostringstream buf;
- buf << " " << line << std::endl << " ";
+ buf << " " << line << " ";
istream_pos_type idx = (pos == istream_pos_type(0) ?
istream_pos_type(line.length()) : pos);
idx -= 1;