Skip to content

Commit

Permalink
Revert r19475. That revision fixed one rounding error, but introduced…
Browse files Browse the repository at this point in the history
… another one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19568 57a11ea4-9604-0410-9ed3-97b8803252fd
  • Loading branch information
gjanssens committed Sep 11, 2010
1 parent a60ba88 commit b56930b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/engine/gncEntry.c
Expand Up @@ -1290,7 +1290,7 @@ gncEntryRecomputeValues (GncEntry *entry)
entry->i_taxincluded,
entry->i_discount, entry->i_disc_type,
entry->i_disc_how,
0,
denom,
&(entry->i_value), &(entry->i_disc_value),
&(entry->i_tax_values));

Expand All @@ -1299,7 +1299,7 @@ gncEntryRecomputeValues (GncEntry *entry)
(entry->b_taxable ? entry->b_tax_table : NULL),
entry->b_taxincluded,
gnc_numeric_zero(), GNC_AMT_TYPE_VALUE, GNC_DISC_PRETAX,
0,
denom,
&(entry->b_value), NULL, &(entry->b_tax_values));

entry->i_value_rounded = gnc_numeric_convert (entry->i_value, denom,
Expand Down

0 comments on commit b56930b

Please sign in to comment.