[qif-to-gnc] properly mark intra-QIF internal transfers.

Unfortunately d6de324b had a copy-and-paste bug, and the (if)
conditional has failed to mark internal transfers.

This commit fixes the parens so that splits with matching accounts are
now marked for skipping during import.
This commit is contained in:
Christopher Lam 2020-04-04 21:18:14 +08:00
parent 2329c1c508
commit 96980193bf

View File

@ -907,8 +907,8 @@
(if (not (and far-acct-name near-acct-name))
(if errorproc
(errorproc "Transaction with no or only one associated account."))
(if (and (not (qif-xtn:mark (car xtns))))
(string=? (qif-xtn:from-acct (car xtns)) far-acct-name)
(if (and (not (qif-xtn:mark (car xtns)))
(string=? (qif-xtn:from-acct (car xtns)) far-acct-name))
(begin
(set! how
(qif-import:xtn-has-matches? (car xtns) near-acct-name