git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3756 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2001-03-07 07:42:39 +00:00
parent cc5c68a1cc
commit 1ed0f8f4eb

View File

@ -366,6 +366,9 @@ gnc_commodity_table_insert(gnc_commodity_table * table,
c = gnc_commodity_table_lookup (table, comm->namespace, comm->mnemonic);
if (c) {
if (c == comm)
return c;
gnc_commodity_set_fullname (c, gnc_commodity_get_fullname (comm));
gnc_commodity_set_fraction (c, gnc_commodity_get_fraction (comm));
gnc_commodity_set_exchange_code (c,