summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-07-28 23:54:56 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:17 -0400
commited63481f3b1ff66f4ec2ef34f237002e33c0825c (patch)
tree00298aa86ad5395913b6736b3c55cb2b4d8a90a0 /amount.cc
parentd65a758c8428403ece6548955a206a4b18a577b2 (diff)
downloadfork-ledger-ed63481f3b1ff66f4ec2ef34f237002e33c0825c.tar.gz
fork-ledger-ed63481f3b1ff66f4ec2ef34f237002e33c0825c.tar.bz2
fork-ledger-ed63481f3b1ff66f4ec2ef34f237002e33c0825c.zip
*** empty log message ***
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/amount.cc b/amount.cc
index 933716c6..a5ef1720 100644
--- a/amount.cc
+++ b/amount.cc
@@ -66,14 +66,14 @@ static struct _init_amounts {
commodity_t * commodity;
commodity = commodity_t::find_commodity("s", true);
- commodity->flags |= COMMODITY_STYLE_NOMARKET;
+ commodity->flags |= COMMODITY_STYLE_NOMARKET | COMMODITY_STYLE_BUILTIN;
parse_conversion("1.0m", "60s");
parse_conversion("1.0h", "60m");
#if 0
commodity = commodity_t::find_commodity("b", true);
- commodity->flags |= COMMODITY_STYLE_NOMARKET;
+ commodity->flags |= COMMODITY_STYLE_NOMARKET | COMMODITY_STYLE_BUILTIN;
parse_conversion("1.00 Kb", "1024 b");
parse_conversion("1.00 Mb", "1024 Kb");