mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-26 08:00:05 -05:00
Fix bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3756 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
cc5c68a1cc
commit
1ed0f8f4eb
1 file changed
+3
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user