summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/textual.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textual.cc b/src/textual.cc
index 3ca0722e..0590bbfa 100644
--- a/src/textual.cc
+++ b/src/textual.cc
@@ -1047,6 +1047,8 @@ void instance_t::commodity_alias_directive(commodity_t&, string)
void instance_t::commodity_format_directive(commodity_t&, string format)
{
+ // jww (2012-02-27): A format specified this way should turn off
+ // observational formatting.
trim(format);
amount_t amt;
amt.parse(format);