Reset found_trans_split when the transaction being considered in gnc_split_register_find_split

turns out to be the wrong one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18514 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Mike Alexander 2009-12-17 07:28:30 +00:00
parent e4dd190ed9
commit fa9f788504

View File

@ -248,9 +248,10 @@ gnc_split_register_find_split (SplitRegister *reg,
}
else
{
/* Not the correct transaction. We shouldn't get here if this is true, but just
to be safe reset it. */
/* Not the correct transaction. We shouldn't get here if these are true, but just
to be safe reset them. */
found_trans = FALSE;
found_trans_split = FALSE;
}
if (found_trans && (s == split) && s)