summaryrefslogtreecommitdiff
path: root/gnucash.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-01 01:37:20 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-01 01:37:58 -0400
commit567902b1731db6f1ace85a7bc384b55ffd0948ab (patch)
tree6073b110e309781eea7e05163b57ff90bec88d5f /gnucash.cc
parente5048ec71bf114c351c62844b7603893195df4d4 (diff)
downloadledger-567902b1731db6f1ace85a7bc384b55ffd0948ab.tar.gz
ledger-567902b1731db6f1ace85a7bc384b55ffd0948ab.tar.bz2
ledger-567902b1731db6f1ace85a7bc384b55ffd0948ab.zip
Simplified the format_t code so that it no longer references any particulars
about journal objects. This is all done through value expressions now.
Diffstat (limited to 'gnucash.cc')
-rw-r--r--gnucash.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnucash.cc b/gnucash.cc
index 0be5661e..7849f81f 100644
--- a/gnucash.cc
+++ b/gnucash.cc
@@ -138,7 +138,9 @@ static void endElement(void *userData, const char *name)
// Add the new entry (what gnucash calls a 'xact') to the
// journal
if (! curr_journal->add_entry(curr_entry)) {
+#if 0
print_entry(std::cerr, *curr_entry);
+#endif
have_error = "The above entry does not balance";
checked_delete(curr_entry);
} else {