diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-04 00:05:37 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 05:48:44 -0400 |
commit | 7a965565cf036cee8ada07e2e3df27d13f936acb (patch) | |
tree | 6c6a9f3d190cae2a2cb7a45d88dc8762fc52f1d0 /ofx.cc | |
parent | c17c5dbcaf383b5f605b3373427930a0a579f2ed (diff) | |
download | fork-ledger-7a965565cf036cee8ada07e2e3df27d13f936acb.tar.gz fork-ledger-7a965565cf036cee8ada07e2e3df27d13f936acb.tar.bz2 fork-ledger-7a965565cf036cee8ada07e2e3df27d13f936acb.zip |
*** no comment ***
Diffstat (limited to 'ofx.cc')
-rw-r--r-- | ofx.cc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -38,7 +38,7 @@ int ofx_proc_account_cb(struct OfxAccountData data, void * account_data) if (data.currency_valid) { commodity_t * commodity = commodity_t::find_commodity(data.currency, true); - commodity->flags |= COMMODITY_STYLE_SUFFIXED | COMMODITY_STYLE_SEPARATED; + commodity->flags() |= COMMODITY_STYLE_SUFFIXED | COMMODITY_STYLE_SEPARATED; commodities_map::iterator i = ofx_account_currencies.find(data.account_id); if (i == ofx_account_currencies.end()) @@ -139,13 +139,13 @@ int ofx_proc_security_cb(struct OfxSecurityData data, void * security_data) return -1; commodity_t * commodity = commodity_t::find_commodity(symbol, true); - commodity->flags |= COMMODITY_STYLE_SUFFIXED | COMMODITY_STYLE_SEPARATED; + commodity->flags() |= COMMODITY_STYLE_SUFFIXED | COMMODITY_STYLE_SEPARATED; if (data.secname_valid) - commodity->name = data.secname; + commodity->name() = data.secname; if (data.memo_valid) - commodity->note = data.memo; + commodity->note() = data.memo; commodities_map::iterator i = ofx_securities.find(data.unique_id); if (i == ofx_securities.end()) { |