r17814 - gnucash/trunk/src - Fix currency replacements.

Andreas Köhler andi5 at cvs.gnucash.org
Sun Jan 11 16:00:54 EST 2009


Author: andi5
Date: 2009-01-11 16:00:54 -0500 (Sun, 11 Jan 2009)
New Revision: 17814
Trac: http://svn.gnucash.org/trac/changeset/17814

Modified:
   gnucash/trunk/src/backend/file/gnc-commodity-xml-v2.c
   gnucash/trunk/src/engine/gnc-commodity.c
Log:
Fix currency replacements.

While loading an xml file, do not look up an internal commodity and modify that,
but rather work on a copy.  When inserting the commodity, apply the same
replacements as in gnc_commodity_table_lookup().

This change should not be necessary on branches/2.2 but it might not do any
harm.




More information about the gnucash-patches mailing list