summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-19 04:47:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:27 -0400
commit53c132ad98caf765eaba51fe4c5a85e4a69ddf06 (patch)
treec4b3b410358a4496cd4c71fe9c17f08651e82fd8 /gnucash.cc
parenta61e2fa8c073e7f1a4ea1072d51b5e15aeff1e12 (diff)
downloadfork-ledger-53c132ad98caf765eaba51fe4c5a85e4a69ddf06.tar.gz
fork-ledger-53c132ad98caf765eaba51fe4c5a85e4a69ddf06.tar.bz2
fork-ledger-53c132ad98caf765eaba51fe4c5a85e4a69ddf06.zip
Corrected merged gnucash.cc changes.
Diffstat (limited to 'gnucash.cc')
-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;