[Gnucash-changes] r13771 - gnucash/trunk - Update the determination of what's a currency and what isn't. Fixes

Derek Atkins warlord at MIT.EDU
Wed Apr 12 12:37:38 EDT 2006


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 and when should we use
NS_CURRENCY?   There are certainly many other places where NS_ISO
is being used.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list