summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnucash.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnucash.cc b/gnucash.cc
index e8c936f3..ab04dfd5 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -198,14 +198,15 @@ void dataHandler(void *userData, const char *s, int len)
parser->curr_comm->add_flags(COMMODITY_STYLE_SEPARATED);
if (parser->curr_account)
- parser->account_comms.insert(account_comm_pair(parser->curr_account,
- parser->curr_comm));
+ parser->account_comms.insert
+ (gnucash_parser_t::account_comm_pair(parser->curr_account,
+ parser->curr_comm));
else if (parser->curr_entry)
parser->entry_comm = parser->curr_comm;
break;
}
- case COMM_NAME:
+ case gnucash_parser_t::COMM_NAME:
parser->curr_comm->set_name(std::string(s, len));
break;