summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-03-04 11:47:52 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 05:48:44 -0400
commit2034d6640c5ba7465cadda5da0060b55c7277d22 (patch)
tree1c799d390bb07286a0c58c3681a33ecf80f2fec8
parent9ac0a00fd4fea5270bf6fbe6f159495ee059d1b0 (diff)
downloadfork-ledger-2034d6640c5ba7465cadda5da0060b55c7277d22.tar.gz
fork-ledger-2034d6640c5ba7465cadda5da0060b55c7277d22.tar.bz2
fork-ledger-2034d6640c5ba7465cadda5da0060b55c7277d22.zip
*** no comment ***
-rw-r--r--ofx.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ofx.cc b/ofx.cc
index 4e665d18..97cb7302 100644
--- a/ofx.cc
+++ b/ofx.cc
@@ -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()) {