summaryrefslogtreecommitdiff
path: root/xml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'xml.cc')
-rw-r--r--xml.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/xml.cc b/xml.cc
index 5b060296..23bb8d84 100644
--- a/xml.cc
+++ b/xml.cc
@@ -435,9 +435,9 @@ void format_xml_entries::format_last_entry()
}
output_stream << " <tr:amount>\n";
- if (transaction_xdata_(**i).dflags & TRANSACTION_COMPOSITE)
+ if (transaction_xdata_(**i).dflags & TRANSACTION_COMPOUND)
xml_write_value(output_stream,
- transaction_xdata_(**i).composite_amount, 10);
+ transaction_xdata_(**i).value, 10);
else
xml_write_value(output_stream, value_t((*i)->amount), 10);
output_stream << " </tr:amount>\n";