diff options
author | John Wiegley <johnw@newartisans.com> | 2005-07-07 00:02:11 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:14 -0400 |
commit | e8df1732704c1e540f0d052bd0c8f9697012e8d0 (patch) | |
tree | d15728a2c67608b84099c13a8ffe988b0f07b0c0 | |
parent | cc2148a60d607651c5b71b452f7477b712533445 (diff) | |
download | fork-ledger-e8df1732704c1e540f0d052bd0c8f9697012e8d0.tar.gz fork-ledger-e8df1732704c1e540f0d052bd0c8f9697012e8d0.tar.bz2 fork-ledger-e8df1732704c1e540f0d052bd0c8f9697012e8d0.zip |
(find_commodity): Don't copy over the NOMARKET flag from the default
commodity.
-rw-r--r-- | amount.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1172,7 +1172,8 @@ commodity_t * commodity_t::find_commodity(const std::string& symbol, // and precision, if one has been defined. if (default_commodity) commodity->flags = - (default_commodity->flags & ~COMMODITY_STYLE_THOUSANDS); + (default_commodity->flags & ~(COMMODITY_STYLE_THOUSANDS | + COMMODITY_STYLE_NOMARKET)); return commodity; } |