diff --git a/qif.cc b/qif.cc index a29f4bc1..8ca966d4 100644 --- a/qif.cc +++ b/qif.cc @@ -165,6 +165,8 @@ unsigned int qif_parser_t::parse(std::istream& in, line[len - 1] = '\0'; xact->account = journal->find_account(line[0] == '[' ? line + 1 : line); + // Negate the amount, to show the correct direction of flow + xact->amount.negate(); break; }