mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): strip
string before setting things. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4720 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
03904ba6fc
commit
76cf4739af
@ -117,6 +117,7 @@ set_commodity_value(xmlNodePtr node, gnc_commodity* com)
|
||||
if(safe_strcmp(mark->tag, node->name) == 0)
|
||||
{
|
||||
gchar* val = dom_tree_to_text(node);
|
||||
g_strstrip(val);
|
||||
(mark->func)(com, val);
|
||||
g_free(val);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user