summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
authorMartin Michlmayr <tbm@cyrius.com>2014-05-13 18:08:34 -0400
committerMartin Michlmayr <tbm@cyrius.com>2014-05-13 18:08:34 -0400
commit60d9c2bc1d8095f06c13fbf1bcce2d5c587a3a64 (patch)
treef75bf04c8e97cdfb5dc675e5478b4ea8113fd4b1 /src/context.h
parentc411792edbe359d5653a2ad5de6b5ea4a40227c2 (diff)
downloadfork-ledger-60d9c2bc1d8095f06c13fbf1bcce2d5c587a3a64.tar.gz
fork-ledger-60d9c2bc1d8095f06c13fbf1bcce2d5c587a3a64.tar.bz2
fork-ledger-60d9c2bc1d8095f06c13fbf1bcce2d5c587a3a64.zip
Remove trailing whitespace from error messages
Fix for bug #867
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/context.h b/src/context.h
index 9f5bfe8f..27b733a1 100644
--- a/src/context.h
+++ b/src/context.h
@@ -101,10 +101,10 @@ public:
}
void warning(const string& what) const {
- warning_func(location() + what);
+ warning_func(location() + " " + what);
}
void warning(const boost::format& what) const {
- warning_func(location() + string(what.str()));
+ warning_func(location() + " " + string(what.str()));
}
};