summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-05-07 10:25:15 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:39 -0400
commita07e20c14e5ba3597a855276ad9a195343aee42f (patch)
tree2148a9a8e3038993cca6865a025a582e95f9caac /src/format.cc
parent8aada79971b772fda92131053fa03021cfbc625a (diff)
downloadfork-ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.gz
fork-ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.tar.bz2
fork-ledger-a07e20c14e5ba3597a855276ad9a195343aee42f.zip
Changed write methods to print.
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.cc b/src/format.cc
index 9c34f876..d155d419 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -190,7 +190,7 @@ int format_t::element_formatter_t::operator()
if (elem->kind == element_t::XPATH)
elem->xpath->calc(context).strip_annotations()
- .write(out, elem->min_width, elem->max_width);
+ .print(out, elem->min_width, elem->max_width);
else if (elem->kind == element_t::GROUP)
column = elem->format->format(out, context, column);
else if (elem->kind == element_t::TEXT)