[Gnucash-changes] r13771 - gnucash/trunk - Update the
determination of what's a currency and what isn't. Fixes
David Hampton
hampton-gnucash at rainbolthampton.net
Wed Apr 12 13:55:10 EDT 2006
On Wed, 2006-04-12 at 12:37 -0400, Derek Atkins wrote:
> Quoting David Hampton <hampton at cvs.gnucash.org>:
>
> > ns_name = gnc_commodity_namespace_get_name(cm->namespace);
> > return (!safe_strcmp(ns_name, GNC_COMMODITY_NS_LEGACY) ||
> > - !safe_strcmp(ns_name, GNC_COMMODITY_NS_ISO));
> > + !safe_strcmp(ns_name, GNC_COMMODITY_NS_CURRENCY));
>
> Question: When should a developer use NS_ISO
In new code, never.
> and when should we use
> NS_CURRENCY? There are certainly many other places where NS_ISO
> is being used.
I'll investigate.
David
More information about the gnucash-devel
mailing list