Skip to content

Commit

Permalink
Merge branch 'maint' into unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
fellen committed Mar 5, 2018
2 parents 3350824 + fc5bdfa commit 580ce72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gnucash/gnome/reconcile-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ gnc_reconcile_view_new (Account *account, GNCReconcileViewType type,

if (auto_check)
{
time64 statement_date_day_end = gnc_time64_get_day_end(statement_date);
for (splits = qof_query_run (query); splits; splits = splits->next)
{
Split *split = splits->data;
Expand All @@ -364,7 +365,7 @@ gnc_reconcile_view_new (Account *account, GNCReconcileViewType type,
g_assert (recn == NREC || recn == CREC);

if (recn == CREC &&
gnc_difftime (trans_date, statement_date) <= 0)
gnc_difftime (trans_date, statement_date_day_end) <= 0)
g_hash_table_insert (view->reconciled, split, split);
}
}
Expand Down

0 comments on commit 580ce72

Please sign in to comment.