* src/business/business-core/gncTaxTable.c: when asking for

the child, return ourself if we're already a child instead
	  of making a (useless) grandchild.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.8@8433 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldreleases/1.8
Derek Atkins 23 years ago
parent 196c5ae270
commit 316233583d

@ -1,3 +1,9 @@
2003-05-28 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncTaxTable.c: when asking for
the child, return ourself if we're already a child instead
of making a (useless) grandchild.
2003-05-28 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c, dialog-hbcitrans.c,

@ -451,6 +451,7 @@ GncTaxTable *gncTaxTableReturnChild (GncTaxTable *table, gboolean make_new)
if (!table) return NULL;
if (table->child) return table->child;
if (table->parent) return table;
if (make_new) {
child = gncTaxTableCopy (table);
gncTaxTableSetChild (table, child);

Loading…
Cancel
Save