summaryrefslogtreecommitdiff
path: root/qif.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-10-14 19:05:55 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:19 -0400
commita53f44ecdaf9051c9e7f64993787c88d98b5348a (patch)
tree5d3876db32ae57002ec870583c5acb623e4c34c4 /qif.cc
parent50c689e1ae75a304ef7431fa489360076e837120 (diff)
downloadfork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.gz
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.tar.bz2
fork-ledger-a53f44ecdaf9051c9e7f64993787c88d98b5348a.zip
Support has been added for clearing of individual transactions. Set
`ledger-clear-whole-entries' in Emacs to revert to the old behavior.
Diffstat (limited to 'qif.cc')
-rw-r--r--qif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qif.cc b/qif.cc
index 39df84a5..cb72de9a 100644
--- a/qif.cc
+++ b/qif.cc
@@ -138,7 +138,7 @@ unsigned int qif_parser_t::parse(std::istream& in,
c = in.peek();
if (c == '*' || c == 'X') {
in.get(c);
- entry->state = entry_t::CLEARED;
+ xact->state = transaction_t::CLEARED;
}
break;