summaryrefslogtreecommitdiff
path: root/src/commodity.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/commodity.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/commodity.cc')
-rw-r--r--src/commodity.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index 7d769364..6731992d 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -371,7 +371,7 @@ namespace {
throw_(amount_error, "A commodity's price may not be negative");
std::ostringstream name;
- comm.write(name);
+ comm.print(name);
annotated_commodity_t::write_annotations(name, details);
DEBUG("amounts.commodities", "make_qualified_name for "