mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
General clean-up in Transaction.[ch].
* Regularization of 'trans' as variable name. * Whitespace and linewraps * lots of control-flow simplification * factor one chunk out into get_any_account() * Comment some things that are bogus or need improvement git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12231 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
6a38aca6f2
commit
ece1abe680
File diff suppressed because it is too large
Load Diff
@ -613,9 +613,8 @@ void xaccSplitSetBaseValue (Split *split, gnc_numeric value,
|
||||
/** Depending on the base_currency, return either the value or the
|
||||
* amount of this split: If the base_curreny is the transaction's
|
||||
* commodity, return the value. If it is the account's commodity,
|
||||
* return the amount. If it is neither and the force_double_entry flag
|
||||
* is false, return the value. If is is neither and force_double_entry
|
||||
* is true, print a warning message and return gnc_numeric_zero().
|
||||
* return the amount. If it is neither print a warning message and
|
||||
* return gnc_numeric_zero().
|
||||
*/
|
||||
gnc_numeric xaccSplitGetBaseValue (const Split *split,
|
||||
const gnc_commodity * base_currency);
|
||||
|
Loading…
Reference in New Issue
Block a user