r18513 - gnucash/trunk/src/register/ledger-core - Add missing PORTFOLIO_LEDGER register type to switch statement in
Mike Alexander
mta at code.gnucash.org
Thu Dec 17 02:26:13 EST 2009
Author: mta
Date: 2009-12-17 02:26:13 -0500 (Thu, 17 Dec 2009)
New Revision: 18513
Trac: http://svn.gnucash.org/trac/changeset/18513
Modified:
gnucash/trunk/src/register/ledger-core/split-register-model.c
Log:
Add missing PORTFOLIO_LEDGER register type to switch statement in
gnc_split_register_get_debcred_entry.
Modified: gnucash/trunk/src/register/ledger-core/split-register-model.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-model.c 2009-12-17 07:21:18 UTC (rev 18512)
+++ gnucash/trunk/src/register/ledger-core/split-register-model.c 2009-12-17 07:26:13 UTC (rev 18513)
@@ -1698,6 +1698,7 @@
switch (reg->type) {
case STOCK_REGISTER:
case CURRENCY_REGISTER:
+ case PORTFOLIO_LEDGER:
amount = xaccSplitGetValue (split);
print_info = gnc_commodity_print_info (currency, FALSE);
break;
More information about the gnucash-changes
mailing list