diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-05 19:12:23 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-05 19:12:23 -0400 |
commit | 7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da (patch) | |
tree | ee00c3c5b17534ff44bedc9ff125eb6f3e25e40a /format.cc | |
parent | 1741c80fe4f9dd896d4c8912b2ba35b14500ca1c (diff) | |
download | fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.tar.gz fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.tar.bz2 fork-ledger-7e87a0a0b1a8b76c44f4f678d8bfb5129ba6c5da.zip |
added back sorting support
Diffstat (limited to 'format.cc')
-rw-r--r-- | format.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -147,7 +147,7 @@ element_t * format_t::parse_elements(const std::string& fmt) void format_t::format_elements(std::ostream& out, const details_t& details) const { - for (const element_t * elem = elements.get(); elem; elem = elem->next) { + for (const element_t * elem = elements; elem; elem = elem->next) { if (elem->align_left) out << std::left; else @@ -158,7 +158,7 @@ void format_t::format_elements(std::ostream& out, switch (elem->type) { case element_t::STRING: - out << elem->chars;; + out << elem->chars; break; case element_t::VALUE_EXPR: { |