summaryrefslogtreecommitdiff
path: root/src/error.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-08-18 14:48:38 -0400
commitf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (patch)
tree95e2b7806dce0936edd69eca780d180d2ce3195d /src/error.cc
parentadd6f6ca2a711e3337f83bd15be5a03e22842591 (diff)
downloadfork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.gz
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.bz2
fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.zip
Cleanup whitespace
Diffstat (limited to 'src/error.cc')
-rw-r--r--src/error.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.cc b/src/error.cc
index 02413ef6..542d12b9 100644
--- a/src/error.cc
+++ b/src/error.cc
@@ -93,10 +93,10 @@ string source_context(const path& file,
assert(len < 8192);
std::ostringstream out;
-
+
ifstream in(file);
in.seekg(pos, std::ios::beg);
-
+
scoped_array<char> buf(new char[static_cast<std::size_t>(len) + 1]);
in.read(buf.get(), static_cast<std::streamsize>(len));
assert(in.gcount() == static_cast<std::streamsize>(len));