Rename function to eliminate duplicate names.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12244 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton
2006-01-03 17:13:10 +00:00
parent 3261fcbfbf
commit 31f91c13c2

View File

@@ -1002,7 +1002,7 @@ void gncEntryComputeValue (gnc_numeric qty, gnc_numeric price,
}
static int
get_commodity_denom (GncEntry *entry)
get_entry_commodity_denom (GncEntry *entry)
{
gnc_commodity *c;
if (!entry)
@@ -1070,7 +1070,7 @@ gncEntryRecomputeValues (GncEntry *entry)
gnc_numeric_zero(), GNC_AMT_TYPE_VALUE, GNC_DISC_PRETAX,
&(entry->b_value), NULL, &(entry->b_tax_values));
denom = get_commodity_denom (entry);
denom = get_entry_commodity_denom (entry);
entry->i_value_rounded = gnc_numeric_convert (entry->i_value, denom,
GNC_RND_ROUND);
entry->i_disc_value_rounded = gnc_numeric_convert (entry->i_disc_value, denom,