From 0f98c9235f5106d18b33d026b99edbcfdcd66478 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 18 Feb 2005 07:11:59 +0000 Subject: *** empty log message *** --- amount.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'amount.cc') diff --git a/amount.cc b/amount.cc index 61b8606d..35f50b21 100644 --- a/amount.cc +++ b/amount.cc @@ -1158,10 +1158,10 @@ commodity_t * commodity_t::find_commodity(const std::string& symbol, // Start out the new commodity with the default commodity's flags // and precision, if one has been defined. - if (default_commodity) { - commodity->flags = default_commodity->flags; - commodity->precision = default_commodity->precision; - } + if (default_commodity) + commodity->flags = + (default_commodity->flags & ~COMMODITY_STYLE_THOUSANDS); + return commodity; } -- cgit v1.2.3