summaryrefslogtreecommitdiff
path: root/xml.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-19 21:11:49 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:31 -0400
commit32bdfe20d98f1c8e6c0aabe9b26f0507326d2baa (patch)
tree50a4c5490f842ff4241ed6c574d3debd0ed6e1b6 /xml.cc
parentab748ed13ed87369e2e4ed5a617b5de12750fda6 (diff)
downloadledger-32bdfe20d98f1c8e6c0aabe9b26f0507326d2baa.tar.gz
ledger-32bdfe20d98f1c8e6c0aabe9b26f0507326d2baa.tar.bz2
ledger-32bdfe20d98f1c8e6c0aabe9b26f0507326d2baa.zip
Tons of corrections and fixes to value expressions and lot figures.
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";