diff options
Diffstat (limited to 'src/amount.cc')
-rw-r--r-- | src/amount.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/amount.cc b/src/amount.cc index d5b7f03d..1dc160cc 100644 --- a/src/amount.cc +++ b/src/amount.cc @@ -1011,9 +1011,8 @@ bool amount_t::parse(std::istream& in, const parse_flags_t& flags) parse_quantity(in, quant); - if (! flags.has_flags(PARSE_NO_ANNOT) && - ! quant.empty() && ! in.eof() && - ((n = static_cast<char>(in.peek())) != '\n')) + if (! flags.has_flags(PARSE_NO_ANNOT) && ! quant.empty() && + ! in.eof() && ((n = static_cast<char>(in.peek())) != '\n')) details.parse(in); } } |