summaryrefslogtreecommitdiff
path: root/src/balance.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/balance.cc')
-rw-r--r--src/balance.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/balance.cc b/src/balance.cc
index ded3d38a..42034ff8 100644
--- a/src/balance.cc
+++ b/src/balance.cc
@@ -216,8 +216,8 @@ balance_t::commodity_amount(const optional<const commodity_t&>& commodity) const
return temp.commodity_amount(commodity);
throw_(amount_error,
- _("Requested amount of a balance with multiple commodities: %1")
- << temp);
+ _f("Requested amount of a balance with multiple commodities: %1%")
+ % temp);
}
}
else if (amounts.size() > 0) {