diff options
author | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:59:22 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-08-24 02:59:22 -0400 |
commit | c3b1de42de258c9fc385ad4e42046f3c292de472 (patch) | |
tree | 6962d88cc258f8e27fe3032d2df1e96fc6680bd6 | |
parent | 876f5b84ab7114039f0a50806c2e395f32f98cfe (diff) | |
download | fork-ledger-c3b1de42de258c9fc385ad4e42046f3c292de472.tar.gz fork-ledger-c3b1de42de258c9fc385ad4e42046f3c292de472.tar.bz2 fork-ledger-c3b1de42de258c9fc385ad4e42046f3c292de472.zip |
fixed a few minor bugs
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | ledger.cc | 1 | ||||
-rw-r--r-- | main.cc | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 418b6d49..6ce08aeb 100644 --- a/configure.ac +++ b/configure.ac @@ -21,7 +21,7 @@ AC_CHECK_LIB([xmlparse], [XML_ParserCreate], [AC_DEFINE([READ_GNUCASH], [1], [Support reading gnucash files]) AM_CONDITIONAL(READ_GNUCASH, true) AC_SUBST(LIBS, "-lxmlparse -lxmltok $LIBS")], - [AC_MSG_NOTICE([Could not find xmlparse library; gnucash support disabled]) + [AC_MSG_NOTICE([Could not find xmlparse library: Gnucash support disabled]) AM_CONDITIONAL(READ_GNUCASH, false)], [-lxmltok]) @@ -194,6 +194,7 @@ void initialize() void shutdown() { + shutdown_amounts(); shutdown_formats(); } @@ -141,9 +141,7 @@ regexps_to_predicate(std::list<std::string>::const_iterator begin, int main(int argc, char * argv[], char * envp[]) { -#ifdef DO_CLEANUP initialize(); -#endif std::auto_ptr<journal_t> journal(new journal_t); |