Fix an off by one error in gnc_ui_sx_loan_druid_create.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18512 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Alexander 2009-12-17 07:21:18 +00:00
parent 1866ebeaed
commit c6d4edd1b9

View File

@ -436,7 +436,7 @@ gnc_ui_sx_loan_druid_create(void)
GNCAccountType paymentFroms[] = { ACCT_TYPE_BANK, ACCT_TYPE_CASH,
ACCT_TYPE_CREDIT, ACCT_TYPE_ASSET,
ACCT_TYPE_LIABILITY };
int toLen = 2;
int toLen = 1;
GNCAccountType paymentTos[] = { ACCT_TYPE_EXPENSE };
liabilityAcct = NULL;