summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-19 21:36:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-19 21:36:34 -0400
commitd568319495a0695582797de0be4b85e1e06e73b2 (patch)
treecda7e94b2da52b32006c6a83b335d72ff2ccc165 /amount.cc
parent150abce0dbd11863e4a8309fd306a4c2667501f8 (diff)
parent2aeee0bb64b56959ebcf86165c0b31630e0f92ac (diff)
downloadfork-ledger-d568319495a0695582797de0be4b85e1e06e73b2.tar.gz
fork-ledger-d568319495a0695582797de0be4b85e1e06e73b2.tar.bz2
fork-ledger-d568319495a0695582797de0be4b85e1e06e73b2.zip
Merged in bug fixes from master (done for 2.6.1b)
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.cc b/amount.cc
index eb8fd13d..0b500063 100644
--- a/amount.cc
+++ b/amount.cc
@@ -977,7 +977,7 @@ void amount_t::parse(std::istream& in, flags_t flags)
// Set the commodity's flags and precision accordingly
- if (commodity_ && (newly_created || ! (flags & AMOUNT_PARSE_NO_MIGRATE))) {
+ if (commodity_ && ! (flags & AMOUNT_PARSE_NO_MIGRATE)) {
commodity().add_flags(comm_flags);
if (quantity->prec > commodity().precision())