summaryrefslogtreecommitdiff
path: root/amount.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-09 09:47:18 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:55 -0400
commit193a801c03f27d5888d6e7347c18fbc925b72f1d (patch)
treee509fdc72bcfb4d8f72290a2081a0568d7924fbc /amount.cc
parentbbffd8632e2f70fd76533d02f338d1f3b618ca63 (diff)
downloadfork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.tar.gz
fork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.tar.bz2
fork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.zip
Added preliminary support for OFX, using libofx. Needs much
real-world testing.
Diffstat (limited to 'amount.cc')
-rw-r--r--amount.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/amount.cc b/amount.cc
index 729d12f5..c2d27538 100644
--- a/amount.cc
+++ b/amount.cc
@@ -145,7 +145,7 @@ amount_t::amount_t(const long value)
quantity = new bigint_t;
mpz_set_si(MPZ(quantity), value);
} else {
- quantity = NULL;
+ quantity = NULL;
}
commodity_ = NULL;
}
@@ -156,7 +156,7 @@ amount_t::amount_t(const unsigned long value)
quantity = new bigint_t;
mpz_set_ui(MPZ(quantity), value);
} else {
- quantity = NULL;
+ quantity = NULL;
}
commodity_ = NULL;
}
@@ -167,7 +167,7 @@ amount_t::amount_t(const double value)
quantity = new bigint_t;
mpz_set_d(MPZ(quantity), value);
} else {
- quantity = NULL;
+ quantity = NULL;
}
commodity_ = NULL;
}