Make the xml file read behavior less random for malformed account input.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15111 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/gobject-engine-dev
Chris Shoemaker 20 years ago
parent 6005e8deca
commit e52027a7f5

@ -194,7 +194,7 @@ static gboolean
account_type_handler (xmlNodePtr node, gpointer act_pdata)
{
struct account_pdata *pdata = act_pdata;
int type;
GNCAccountType type = ACCT_TYPE_INVALID;
char *string;
string = (char*) xmlNodeGetContent (node->xmlChildrenNode);

Loading…
Cancel
Save