diff options
author | John Wiegley <johnw@newartisans.com> | 2005-04-01 00:24:17 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:07 -0400 |
commit | f7090b1c33f1b55b6d87624336196bd6677b23a1 (patch) | |
tree | 4b390231bd07564f773c6b230003640fe8dbe3da | |
parent | 56b5f5fccedef6e87c8bb64ad2d9ea559b480384 (diff) | |
download | fork-ledger-f7090b1c33f1b55b6d87624336196bd6677b23a1.tar.gz fork-ledger-f7090b1c33f1b55b6d87624336196bd6677b23a1.tar.bz2 fork-ledger-f7090b1c33f1b55b6d87624336196bd6677b23a1.zip |
(test): Sense of an #ifdef test was reversed somehow.
-rw-r--r-- | textual.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -311,9 +311,9 @@ bool textual_parser_t::test(std::istream& in) const in.read(buf, 5); if (std::strncmp(buf, "<?xml", 5) == 0) { #ifdef HAVE_XMLPARSE - throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present"); -#else throw parse_error(path, linenum, "Ledger file contains XML data, but format was not recognized"); +#else + throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present"); #endif } |