diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-24 14:53:33 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-24 14:53:33 -0400 |
commit | d396fa51455da67dd0b8f508754b89ae906fa75f (patch) | |
tree | 68fcd039c50853ac32f3624a84f8f23ca9055ab2 /src/value.h | |
parent | cca6c204dd99e41d23c0389bb1dff2d47dea8433 (diff) | |
download | fork-ledger-d396fa51455da67dd0b8f508754b89ae906fa75f.tar.gz fork-ledger-d396fa51455da67dd0b8f508754b89ae906fa75f.tar.bz2 fork-ledger-d396fa51455da67dd0b8f508754b89ae906fa75f.zip |
Fixed an alignment bug in value context display
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/value.h b/src/value.h index ff80d8ab..9e8a2fd5 100644 --- a/src/value.h +++ b/src/value.h @@ -925,9 +925,7 @@ inline std::ostream& operator<<(std::ostream& out, const value_t& val) { inline string value_context(const value_t& val) { std::ostringstream buf; - buf << std::right; - buf.width(20); - val.dump(buf); + val.print(buf, 20, 20, true); return buf.str(); } |