[Gnucash-changes] r13775 - gnucash/trunk/src/gnome-utils - Another
comment.
David Hampton
hampton at cvs.gnucash.org
Thu Apr 13 22:31:08 EDT 2006
Author: hampton
Date: 2006-04-13 22:31:07 -0400 (Thu, 13 Apr 2006)
New Revision: 13775
Trac: http://svn.gnucash.org/trac/changeset/13775
Modified:
gnucash/trunk/src/gnome-utils/dialog-commodity.c
Log:
Another comment.
Modified: gnucash/trunk/src/gnome-utils/dialog-commodity.c
===================================================================
--- gnucash/trunk/src/gnome-utils/dialog-commodity.c 2006-04-14 02:29:53 UTC (rev 13774)
+++ gnucash/trunk/src/gnome-utils/dialog-commodity.c 2006-04-14 02:31:07 UTC (rev 13775)
@@ -641,9 +641,10 @@
namespace = gtk_entry_get_text (GTK_ENTRY(GTK_COMBO (combobox)->entry));
- if (safe_strcmp (namespace, GNC_COMMODITY_NS_ISO) == 0)
+ if (safe_strcmp (namespace, GNC_COMMODITY_NS_ISO) == 0) {
+ /* In case the user types in ISO4217, map it to CURRENCY. */
return GNC_COMMODITY_NS_CURRENCY;
- else
+ } else
return namespace;
}
More information about the gnucash-changes
mailing list