summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
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)