mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user