diff options
author | John Wiegley <johnw@newartisans.com> | 2012-02-10 19:58:06 -1000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-02-11 16:53:31 -1000 |
commit | 5e3e204766bc5ce0f6335d12de0c4f0f03f20d00 (patch) | |
tree | f5ee338785fb57ab604f267b95370a7539901ad6 /src/textual.cc | |
parent | 9d1daa27e23864e0238c8fde2b6ad5f45ebe136a (diff) | |
download | fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.gz fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.tar.bz2 fork-ledger-5e3e204766bc5ce0f6335d12de0c4f0f03f20d00.zip |
Do not evaluate strings as booleans
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc index 341271b6..42845e3a 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -783,7 +783,7 @@ void instance_t::master_account_directive(char * line) context.state_stack.push_front(acct); #if !defined(NO_ASSERTS) else - assert(! "Failed to create account"); + assert("Failed to create account" == NULL); #endif } |