summaryrefslogtreecommitdiff
path: root/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-01-07 04:39:35 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:48 -0400
commit9403113c59f5af0e8d3bedd46e8d50b685f9abb2 (patch)
treef008cefe2431f647b9a717abb1a08fccf67b551f /main.cc
parenta69bddcf2a0ec3b1da71dfb8593476af0a0e1c5f (diff)
downloadfork-ledger-9403113c59f5af0e8d3bedd46e8d50b685f9abb2.tar.gz
fork-ledger-9403113c59f5af0e8d3bedd46e8d50b685f9abb2.tar.bz2
fork-ledger-9403113c59f5af0e8d3bedd46e8d50b685f9abb2.zip
(read_binary_amount): If the commodity ident is zero,
it is an explicit reference to commodity_t::null_commodity. (write_binary_journal): Initialize account_index and commodity_index to zero before writing. (write_binary_journal): Set the "ident" field of the null_commodity to 0, so that read_binary_amount can recognize it.
Diffstat (limited to 'main.cc')
0 files changed, 0 insertions, 0 deletions