mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
2001-07-18 Dave Peticolas <dave@krondo.com>
* src/gnc-ui-util.c (balance_helper): fix bug git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4964 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
473f2cc8cb
commit
19aa6a2baf
@ -1,3 +1,7 @@
|
||||
2001-07-18 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/gnc-ui-util.c (balance_helper): fix bug
|
||||
|
||||
2001-07-17 Dave Peticolas <dave@krondo.com>
|
||||
|
||||
* src/engine/Scrub.c (xaccGroupScrubCommodities): use group
|
||||
|
@ -202,6 +202,9 @@ balance_helper (Account *account, gpointer data)
|
||||
CurrencyBalance *cb = data;
|
||||
gnc_numeric balance;
|
||||
|
||||
if (!cb->currency)
|
||||
return NULL;
|
||||
|
||||
balance = gnc_account_get_balance_in_currency (account, cb->currency);
|
||||
|
||||
cb->balance = gnc_numeric_add (cb->balance, balance,
|
||||
|
Loading…
Reference in New Issue
Block a user